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.

DR

Problem with output

Closed
drjackeiwong opened this issue
a month ago

Output row 10, 19, 26 = undefined.

Problem with links?

ruocco-l avatar

Hello, thank you for opening this issue.

These kind of output are erroneous meaning they inform you that the channel doesn't have any video corresponding your date filter, returning this kind of object

1{
2        "url": "https://www.youtube.com/@jeffsu/videos",
3        "note": "No videos were collected due to date filtering.",
4        "input": "https://www.youtube.com/@jeffsu"
5    }

However, your comment made relevant the fact that this information is outputted incorrectly (in fact in your run one of the video from futurpedia did pass the filter, even though the erroneous massage was pushed. We'll make sure this won't happen again.

I've opened a ticket and I will let you know when the problem will be fixed. Thank you for your patience.

ruocco-l avatar

Hello. I'm happy to tell you that the problem is now fixed. Now the scraper correctly communicates the lack of videos due to filtering.

Thank you so much for your patience, hope this helps!

Happy scraping!

DR

drjackeiwong

a month ago

Hi Luigi! Thanks for the update. I am afraid problem still exists, would you please check again? You may refer to my latest run record.

{ "url": "https://www.youtube.com/@futurepedia_io/videos", "note": "No videos were collected due to date filtering.", "input": "https://www.youtube.com/@futurepedia_io" },

ruocco-l avatar

This is correct!

As you can see from the log on your run, the scraper Will discard all channel videos older than Wed, 15 Jan 2025 09:06:20 GMT while the last video on Futurepedia channel was posted Tue, 14 Jan 2025 19:46:23 GMT .

How do you decide on what to scrape? Maybe would be useful to scrape the last 8 days, so you get without failing every video from the week (with the occasional duplicate, but it's better than having missing videos, in my opinion!)

DR

drjackeiwong

a month ago

Hi Luigi! System should normally return nothing instead of something weird, right? Which means, no item/row output for those cases with zero record scraped.

ruocco-l avatar

As a policy, we prefer to communicate this type of mishap to the user.

In short: a platform user (somebody that just want to use the scraper to get the results) would be confused by the absence of data. An expert user (that would probably manipulate the result somehow) can easily discard this "erroneous" message with simple post processing.

Hopefully this doesn't disrupt your workflow too much. We care for your feedback and will take it into consideration in the next iteration of our actors.

DR

drjackeiwong

a month ago

Thanks for your explanation.

Developer
Maintained by Apify

Actor Metrics

  • 2.2k monthly users

  • 448 bookmarks

  • 77% runs succeeded

  • 1.5 days response time

  • Created in Jul 2023

  • Modified 8 days ago