Closed vhpoet closed 3 years ago
Yes I've known about this issue and have already been working on a fix on the side for a while.
I'm also hesitating if this should be removed actually, as this library is not meant for scraping. YouTube's internal throttling limits around 1 query per second, so in order to get 10 pages each request has to be delayed by 1 second.
Yes I've known about this issue and have already been working on a fix on the side for a while.
I'm also hesitating if this should be removed actually, as this library is not meant for scraping. YouTube's internal throttling limits around 1 query per second, so in order to get 10 pages each request has to be delayed by 1 second.
Well not scraping really. I'm looking for specific interviews, and a lot of times they're not on the first page. Also, I don't mind waiting a second per page haha.
@vhpoet
IIRC https://github.com/TimeForANinja/node-ytsr has working paging that you can use to go through many pages of results. You may want to try that.
closing in favour of: https://github.com/talmobi/yt-search/issues/47
Having
pageEnd: 1
andpageEnd: 10
return the same amount of videos.both return 19 videos for me.
P. S. thanks for this lib!