🏯 Youtube Scraper (Pay Per Result)
Pay $0.50 for 1,000 videos
🏯 Youtube Scraper (Pay Per Result)
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!
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!
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;
- Execute the run per each profile with maxItems included
- Once the output is fetched, apply Apify's
limit
on the Dataset. You can add thelimit=
parameter into the URL to make this done. Such as https://api.apify.com/v2/datasets/XXXXX/items?clean=true&format=json&limit=1000.
Cheers
Actor Metrics
87 monthly users
-
32 stars
>99% runs succeeded
0.6 hours response time
Created in Dec 2023
Modified 10 hours ago