YouTube Scraper avatar

YouTube Scraper

Try for free

Pay $5.00 for 1,000 videos

Go to Store
YouTube Scraper

YouTube Scraper

streamers/youtube-scraper
Try for free

Pay $5.00 for 1,000 videos

YouTube crawler and video scraper. Alternative YouTube API with no limits or quotas. Extract and download channel name, likes, number of views, and number of subscribers.

Do you want to learn more about this Actor?

Get a demo
VA

Default values for maxResults

Open

viewed_ai opened this issue
16 days ago

Hello Team,

We have encountered an issue where the results for our runs have been empty for the past month. Upon investigation, we realized that our crawling stopped working correctly due to a recent change on your end. Previously, the maxResults parameter was set to None by default, which allowed fetching the maximum number of results. However, it now defaults to 0, which effectively returns no results.

Feedback and Questions:

  1. Communication of Changes: It would be greatly appreciated if changes like this were communicated more widely. Alternatively, could you point us to a resource or channel where such updates are documented or announced?

  2. Equivalent of “Return Everything”: What is the current recommended way to fetch all results? Using arbitrary high numbers like 1k, 5k, or 100k seems inelegant and potentially incorrect. Is this approach intentional, or is there a better practice for retrieving all available results?

Thank you for your time and assistance. I look forward to your response!

zuzka avatar

Hey, thanks for your feedback, it is very valuable for us. As for 1. - yes, sorry, we usually communicate breaking changes much better (and we are also trying to do breaking changes only when it is absolutely neccessary). I will communicate it with the team again and it will hopefully never happen again. As for 2. - you can find all related changes on every Actor in the changelog tab, so for youtube here: https://apify.com/streamers/youtube-scraper/changelog or in the console (where it is slightly more difficult to find so I am attaching a screenshot): https://console.apify.com/actors/h7sDV53CddomktSi5/information/latest/changelog Please let me know if you need any help with getting the data you didnt get within the last month!

paja avatar

Hi again,

just to answer your second question - the maximum number of results can be achieved by inputing simply something like 99999, the Actor will return everything that can be returned with that.

Hope that helps and apologies again for the lack of communication from our side, we'll definitely be more careful next time.

Developer
Maintained by Apify

Actor Metrics

  • 1.8k monthly users

  • 311 stars

  • 75% runs succeeded

  • 2.9 days response time

  • Created in Jul 2023

  • Modified 2 days ago