Closed ping closed 9 years ago
I have implemented it (same idea but with some small difference in the implementation), thanks!
I haven't added matchtitle
and rejectitle
because they only work when the video is going to be downloaded and therefore wouldn't work here.
@jaimeMF Awesome!
But can you take a look again at matchtitle
and rejecttitle
?
I've tested it with https://www.youtube.com/user/GoogleWebmasterHelp/videos.
When defined, matchtitle=English
will return only videos with titles containing the word "English"
and rejecttitle=German
will exclude videos titles containing "German".
Another param for possible whitelisting is playlistreverse
(bool).
Added in 978e6be966708d8c1bd726210be3978f5defa2d1 and 7136e1b3ff89bf4b2c76cf8382aa6efec2ed8762, I only checked with playlists, it works on users.
I've noticed a problem with using the /api/info endpoint for channels, such as https://www.youtube.com/user/Youtube/videos. The endpoint will attempt to lookup all of the videos in the channel which can take a very long time and likely timeout eventually.
This can be mitigated by defining the
playlistend
param, but there is no way to do this currently. I patched my local copy of app.py to support a small set of user-defined params, but I'm not sure if this a good/pythonic way of doing it.