🏯 Youtube Scraper (Pay Per Result) avatar

🏯 Youtube Scraper (Pay Per Result)

Try for free

Pay $0.50 for 1,000 videos

View all Actors
🏯 Youtube Scraper (Pay Per Result)

🏯 Youtube Scraper (Pay Per Result)

apidojo/youtube-scraper
Try for free

Pay $0.50 for 1,000 videos

Experience unparalleled efficiency and depth with its ultra-fast capabilities in searching, URL, playlist, channel, and profile scraping. It comes equipped with a variety of filters to customize your data collection precisely. Plus, it's incredibly affordable at only $0.50 per 1000 videos!

IN

[Question] Difference between MaxOutput / MaxVideosperQuery

Closed

inca opened this issue
6 months ago

Hello, would like to know the difference between max number of items in output and max videos per query.

Checking our Run_id we have 3 profiles listed. When we use max output = 5, we are getting 9 results. When we use maxvideosperquery = 5, we are getting 37 results.

What should we use if we want the following to be outputted: 5 videos per profile in the input.

Base on the listed profiles: Profile 1: 5 contents Profile 2: 8 contents Profile 3: 84 contents

we would only want to get 15 contents, 5 contents each profile.

thanks!

apidojo avatar

API Dojo (apidojo)

6 months ago

Hey hey!

Thanks for reaching out. Max output controls the total number of items and tries to restrict the total number of retrieved results. Max Items Per Query, contains this limitation per each query. For example, if you put Max Items Per Query as 5 for 3 accounts, you should receive 15.

You might be wondering why you still getting higher results. The reason is that these two fields cannot ensure the exact limitation. The actor is extremely fast and parallelized. Therefore, once the actor signals to stop itself, it still fetches the outputs because of its high speed and parallelization.

In your case, maxVideosPerQuery would be the best option. However, we cannot guarantee the proper limitation for this as well. The best option for you to get a strict limitation would be;

Cheers

Developer
Maintained by Community
Actor metrics
  • 84 monthly users
  • 12 stars
  • 98.4% runs succeeded
  • 8.5 hours response time
  • Created in Dec 2023
  • Modified about 23 hours ago