SuspiciousLookingOwl / scrape-yt

Simple lib to scrape information from youtube such as search results, video information, related videos, playlist information and up next video
https://www.npmjs.com/package/scrape-yt
MIT License
9 stars 3 forks source link

.search() error for video without publish date #3

Closed KareemH closed 4 years ago

KareemH commented 4 years ago

image The youtube scraper was working perfectly fine before and using the maxRetryCount logic worked fine as well. But now, the addition of simpleText makes it work not at all. Could you please revert it?

SuspiciousLookingOwl commented 4 years ago

You can install old version instead with npm install scrape-yt@1.0.7

Can you reproduce it consistently? Is there any specific keyword of search? That will be helpful for me to fix this.

SuspiciousLookingOwl commented 4 years ago

Okay i found what causes this, turns out not all video have published date for some reason.. image

a12c5a358dc7cf69629c8bd81c07301c53fd79cf should fixed it. Published the update to npm (v1.0.10)

Thank you for reporting this bug! If the issue still persists, feel free to open it again :)