![Youtube Scraper avatar](https://images.apifyusercontent.com/4FY9wYpzJclC1blUl--1ObOG_p_cck9FP-a0KVWTo8o/rs:fill:92:92/aHR0cHM6Ly9hcGlmeS1pbWFnZS11cGxvYWRzLXByb2QuczMuYW1hem9uYXdzLmNvbS9oN3NEVjUzQ2Rkb21rdFNpNS9kdk1pNmthb2E3eUhidWNxRC1Zb3VUdWJlX1NjcmFwZXIucG5n.webp)
Pay $5.00 for 1,000 videos
![Youtube Scraper](https://images.apifyusercontent.com/4FY9wYpzJclC1blUl--1ObOG_p_cck9FP-a0KVWTo8o/rs:fill:92:92/aHR0cHM6Ly9hcGlmeS1pbWFnZS11cGxvYWRzLXByb2QuczMuYW1hem9uYXdzLmNvbS9oN3NEVjUzQ2Rkb21rdFNpNS9kdk1pNmthb2E3eUhidWNxRC1Zb3VUdWJlX1NjcmFwZXIucG5n.webp)
Youtube Scraper
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.
Date filter is being ignored
Closed
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?
apos_t
To clarify, I've tested with the scrapeLastNDays
parameter (example run: bevBzOdnmvux65ANL) and it still pulls data outside the range.
![ondrejklinovsky avatar](https://apify-image-uploads-prod.s3.amazonaws.com/BystFRdYdjKhJvYvJ/ep744ynpmgG7GX3aJ-profile-1000x1000.png)
Ondrej Klinovský (ondrejklinovsky)
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.
apos_t
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
![paja avatar](https://apify-image-uploads-prod.s3.us-east-1.amazonaws.com/hCCYrBtwh5YxGuJm9/KsQTPQkJxxdkgvMEw-Liberec2017_061m.jpg)
Thanks for specifying that, we'll look into it a bit further!
![ondrejklinovsky avatar](https://apify-image-uploads-prod.s3.amazonaws.com/BystFRdYdjKhJvYvJ/ep744ynpmgG7GX3aJ-profile-1000x1000.png)
Ondrej Klinovský (ondrejklinovsky)
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.
- 942 monthly users
- 64 stars
- 71.7% runs succeeded
- 2 days response time
- Created in Jul 2023
- Modified 1 day ago