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.

Do you want to learn more about this Actor?

Get a demo
WM

Error during scrapping

Closed

watch_my_competitor opened this issue
4 months ago

Hey we find out that you are receiving warning in scrapping: Request failed and reached maximum retries. TypeError: $ is not a function 2024-07-15T00:49:33.135Z at extractYtInitialPlayerResponseStr (file:///usr/src/app/dist/parsers/common.js:36:21) 2024-07-15T00:49:33.137Z at extractYtInitialPlayerResponseJSON (file:///usr/src/app/dist/parsers/common.js:50:27) 2024-07-15T00:49:33.140Z at extractLiveBroadcastFlag (file:///usr/src/app/dist/parsers/details.js:34:43) 2024-07-15T00:49:33.142Z at handleDetail (file:///usr/src/app/dist/routes/detail.js:87:33) 2024-07-15T00:49:33.144Z at func (/usr/src/app/node_modules/@crawlee/core/router.js:172:44) 2024-07-15T00:49:33.150Z at process.processTicksAndRejections (node:internal/process/task_queues:95:5) 2024-07-15T00:49:33.153Z at async CheerioCrawler.requestHandler (file:///usr/src/app/dist/main.js:177:13) 2024-07-15T00:49:33.155Z at async wrap (/usr/src/app/node_modules/@apify/timeout/index.js:52:21)

svpetrenko avatar

Hi, thanks for submitting the issue! This is related to recent changes on YT's side regarding bot protection. We're working on this and notify when it's fixed

svpetrenko avatar

Hi! This has been fixed in the latest release (example run https://console.apify.com/view/runs/MyMds0Ix0FNIGWMWS). Note that some properties might be missing for now, see CHANGELOG

Developer
Maintained by Apify

Actor Metrics

  • 1.7k monthly users

  • 195 stars

  • 87% runs succeeded

  • 3.8 days response time

  • Created in Jul 2023

  • Modified an hour ago