Open davidhedlund opened 10 years ago
Can you elaborate what this option would be for? I.e. what would the difference be between youtube-dl --sortby views BaW_jenozKc
and youtube-dl BaW_jenozKc
?
I'm assuming you want this feature either for playlists or for search. For playlists, that's reasonable, although the key would then be view_count
. If you want the feature for search, however, an option is not the way to go, because we cannot possible enumerate and sort all search results. Instead, we would then modify the search keyword. Which of these is it?
It is for "ytsearch", example:
youtube-dl "ytsearch:Talamasca - Overload" --sort-by views # which in version 2015.03.03.1 gives: Usage: youtube-dl [OPTIONS] URL [URL...]
youtube-dl: error: no such option: --sort-by
Any progress with this request? Would be nice to download only most popular videos from a channel, i.e. start downloading with --sort-by view_count and most watched videos would be downloaded first, then simply manually interrupt once had enough.. Thanks!
@phihag
I need this feature for a free youtube-dl software that I develop. Can you please add it?
Issue is still present in youtube-dl version 2015.04.28.
@davidhedlund I may sound a bit rude, but you should read this FAQ entry.
@jaimeMF I'm not sure if I've missed something. Can you please tell me what's on your mind?
That entry says:
Feel free to bump the issue from time to time by writing a small comment ("Issue is still present in youtube-dl version ...from France, but fixed from Belgium"), but please not more than once a month
you posted twice in less than two days, that won't magically get the feature implemented. We only work on youtube-dl during our free-time and we don't get payed, so we give priority to issues/features we're interested or that require small effort. I don't know about others, but I'm not working to implement this feature, you can write a pull request or pay someone to do it though.
I can understand that from the user perspective it may sometimes look like if we didn't pay attention to some issues, but it's just that we have limited time.
@jaimeMF Thank you for putting the "request" label on this Issue.
Please add a new option, --sort-by. For example --sort-by views
That way I can get significant high amount of like/dislike ratings
YouTube API "orderby" can be found here: https://developers.google.com/youtube/2.0/developers_guide_protocol?hl=en