twlite / youtube-sr

A dead-simple youtube metadata scraper
https://npmjs.com/package/youtube-sr
MIT License
113 stars 16 forks source link

max result limit to 20 videos #6

Closed xOldeVx closed 3 years ago

xOldeVx commented 3 years ago

First of all, very nice work. I need to get more than 20 results, the youtube-sr return max of 20 videos.

  1. there is an option to get more than 20 videos in one call?
  2. there is an option to get more another 20 videos?
twlite commented 3 years ago

I don't think so because there's total 20-22 videos available inside raw json on youtube page :(

You can try using ytsr because it scrapes data from the page instead of script tag

xOldeVx commented 3 years ago

ohh.. it's a big drawback, only 20-22 results is not really useful. i think if you support the features i noted above, it's can make this library a big success