Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Exclude files based on regex in file names #13190

Closed
martiniusDE opened this issue May 24, 2017 · 1 comment
Closed

Exclude files based on regex in file names #13190

martiniusDE opened this issue May 24, 2017 · 1 comment

Comments

@martiniusDE
Copy link

@martiniusDE martiniusDE commented May 24, 2017

Some debug information:

PS D:\tmp\youtube-dl> .\youtube-dl.exe -f 'best' --download-archive archive.txt "http://mediathek.rbb-online.de/tv/Sandmann/Sendung?documentId=6503982&bcastId=6503982&rss=true" -v --no-part --reject-title '/gebärdensprache/gi' --hls-prefer-native
...
[debug] Encodings: locale cp1252, fs mbcs, out cp850, pref cp1252
[debug] youtube-dl version 2017.05.23
[debug] Python version 3.4.4 - Windows-7-6.1.7601-SP1
[debug] exe versions: ffmpeg N-86175-g64ea4d1, ffprobe N-86175-g64ea4d1
[debug] Proxy map: {}
[ARD:mediathek] 6503982: Downloading webpage
[download] Downloading playlist: rbb Mediathek: Sendung "Sandmann" | rbb Fernsehen
[ARD:mediathek] playlist rbb Mediathek: Sendung "Sandmann" | rbb Fernsehen: Collected 2 video ids (downloading 2 of them)
[download] Downloading video 1 of 2

This command downloads 2 videos from the german mediathek ("Unser Sandmännchen"). The problem is, that both videos are the same, except in the second one there extra sign language for deaf people. The regex seems only to work on titles, not on file names.

Is there any chance to get an extra option flag to exclude some video with a special file name?

BTW, thanks for the great project!

Kind regards
martinius

@martiniusDE
Copy link
Author

@martiniusDE martiniusDE commented May 24, 2017

Sorry for the disturbing, actually it works. The problem was some german umlauts..

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
1 participant
You can’t perform that action at this time.