ytdl-org / youtube-dl

Command-line program to download videos from YouTube.com and other video sites
http://ytdl-org.github.io/youtube-dl/
The Unlicense
132.31k stars 10.03k forks source link

The reject title function is not working. #5573

Closed WeWin55 closed 9 years ago

WeWin55 commented 9 years ago

Hello,

I want to download Youtube Videos from a german Youtuber. All except some, so I did a --reject-title "xxx" for every videotype I dont want to download. Here is my "test" download script:

youtube-dl -f 140 -w --reject-title "Creed" --reject-title "BLOODBORNE" --reject-title "HEX" --reject-title "LEAGUE" --reject-title "STORM" --date $(date +"%Y%m%d") "https://www.youtube.com/user/PietSmittie/videos"

Youtube-dl is downloading the videos, but also the videos I rejected e.g. Bloodborne videos.

I hope you know a fix for my problem. BTW very very very nice program you coded!

Ah i got another little problem youtube-dl is always reporting "WARNING: Your copy of avconv is outdated, update avconv to version 10-0 or newer if you encounter any errors."

Ive read a lot about that problem (on github here too) and did a lot, but i cant get it fixed. But youtube-dl is working with the warning so all is fine:)

dstftw commented 9 years ago

There should be only one --reject-title option and you should pass regular expression to it if you have more sophisticated pattern than simply a single substring, e.g. --reject-title "bloodborne|hex|league|storm", it is case insensitive. As for outdated avconv - you may want to update it as suggested. That depends on how you installed it.

WeWin55 commented 9 years ago

Okay I will test it. Thanks for the fast reply, I will test it in a minute. I never installed it. Its weird..