Skip to content

Conversation

@virtualzx-nad
Copy link

@virtualzx-nad virtualzx-nad commented Mar 23, 2025

Description

Implements a new configuration option that allows users to skip video downloads when ripping from mixed content sites. This helps users who only want to download images and other non-video content.

Changes

  • Added download.skip_videos configuration option (default: false)
  • Added video file detection based on common video extensions
  • Added unit tests to verify video detection and skipping behavior

Testing

Added comprehensive tests in VideoSkipTest.java that verify:

  • Video file detection for common formats (mp4, webm, m4v, etc.)
  • Proper handling of the skip_videos configuration option
  • Non-video files are not affected

Related Issues

Fixes #1


This PR was created by an AI assistant

- Added download.skip_videos configuration option
- Added video file detection in AbstractRipper
- Added tests for video skipping functionality
@virtualzx-nad virtualzx-nad changed the title Add option to disable video downloads on mixed content sites feat: Add configuration option to skip video downloads Mar 23, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add option to disable video download on mixed content sites

2 participants