Youtube Scraper avatar
Youtube Scraper
Try for free

Pay $5.00 for 1,000 videos

View all Actors
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.

User avatar

Date filter is being ignored

Closed

apos_t opened this issue
6 months ago

Hi there,

The date filter doesn't appear to be doing anything and the actor is producing results from 2020 when the filter is set as follows:

"oldestPostDate": "2023-11-13"

Maybe we're setting this wrong? Or misunderstanding the input fields? If we'd like to fetch videos posted over the last X days for a set of accounts what would be the correct way to go about it?

User avatar

apos_t

6 months ago

To clarify, I've tested with the scrapeLastNDays parameter (example run: bevBzOdnmvux65ANL) and it still pulls data outside the range.

User avatar

Hi,

Thanks for the report. It seems that the filter doesn't filter youtube shorts. We'll fix it soon. If you don't care about shorts, you can disable scraping them by setting maxResultsShorts to 0.

User avatar

apos_t

6 months ago

Thanks for the confirmation, we'll disable them until we hear back but we do need that data too. In the first run mentioned however there's some non-shorts videos that have been outputted that are outside the date parameter

User avatar

Thanks for specifying that, we'll look into it a bit further!

User avatar

Hi,

the actor should now apply date filters to shorts and streams. Streams (Live videos) are probably the non-shorts videos that are outside of the date parameter in your run's output. Let me know if there are still some issues with date filtering.

Developer
Maintained by Apify
Actor metrics
  • 689 monthly users
  • 66.9% runs succeeded
  • 2 days response time
  • Created in Jul 2023
  • Modified 6 days ago