usetube icon indicating copy to clipboard operation
usetube copied to clipboard

Is this working?

Open dalisalvador opened this issue 3 years ago • 2 comments

Seems that nothing is working

dalisalvador avatar Dec 15 '22 09:12 dalisalvador

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 !

valerebron avatar Dec 23 '22 11:12 valerebron

Use any of these 2 instead: https://www.npmjs.com/package/scrape-youtube https://www.npmjs.com/package/youtubei

towfiqi avatar Feb 03 '23 05:02 towfiqi