scrapetube icon indicating copy to clipboard operation
scrapetube copied to clipboard

[Feature Request] Equivalent of the "UPLOAD DATE" option on YouTube's website for `get_search`.

Open HubKing opened this issue 2 years ago • 0 comments

get_search method does not have the "UPLOAD DATE" filter which is available on the YouTube's website. The thing is, when "SORT BY" "Upload date", it returns different results depending on whether "UPLOAD DATE" is set to "Today" or it is not set. From my experiment, get_search returns the result that is the same searching YouTube's website without setting "UPLOAD DATE".

I need this "UPLOAD DATE" argument, because without this, the search does not return a lot of the new videos.

If adding this argument is technically infeasible, due to YouTube's encryption, obfuscation, or something like that, please close this issue.

Search on YouTube's website image

Searching for "puppies", with "SORT BY" = "Upload date", "UPLOAD DATE" = "Last hour" image

Searching for "puppies", with "SORT BY" = "Upload date" image

HubKing avatar Feb 15 '24 15:02 HubKing