alexmercerind/youtube-search-python

Getting beyond ~500 videos

jonlee112 opened this issue · 1 comments

Hi there,
Wondering if anyone has figured out how to use the youtube-search-python package in order to go beyond Youtube API's ~500 video search result limit.

Using the customSearch.next() method in a loop...eventually can only get ~500 videos.

According to: coderedirect.com link... it is possible using publishedAfter and publishedBefore parameters but it's not obvious how to do that using this package.

mytja commented

This package does NOT use YouTube Data API, thus your answer doesn't apply to this library.

I'm sorry to say, but you simply cannot get more than 500 videos using this library (at least for now), as YouTube doesn't provide any sorting by date (except for those Uploaded 1 year ago, Uploaded 1 month ago) function.

Closing this for now