Open alinanonymous opened 1 year ago
Hey, i keep getting the same error. Did you have any success in fixing it?
Looks like the current user agent is not supported by Youtube anymore and the batch of 1000 is simply to much for the YouTube API.
I have tested with the following user agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/116.0.0.0 Safari/537.36
And lowered the batch to 500.
Now the script runs without any problems for me.
The suggestions by @markimarc got rid of my errors, but now I'm just getting this a few seconds after "Api Querying items 0 to 500":
C:\Users\user\youtube-music-history-scrobbler-main>PAUSE
Press any key to continue . . .
I'm really keen to get this working.
Error:
Breaks after "Api Querying items 0 to 1000."
Dunno if this is just a me thing, or I should try with a different ver. of node.js, but heres the full log. log.txt