Open dalisalvador opened 1 year ago
Yes indeed, youtube seems to have change is HTML code. This is the main problem of web crawlers, it's dependent to its target code and need to be maintained. For now I have now time to maintain it.
However you can try to debug it, it should be easy.
Uncomment this line of code : https://github.com/valerebron/usetube/blob/master/src/helpers/getData.ts#L52
and play with npm run test
It will generate a raw.json containing current youtbe html.
cheers !
Use any of these 2 instead: https://www.npmjs.com/package/scrape-youtube https://www.npmjs.com/package/youtubei
Seems that nothing is working