sigma67 / ytmusicapi

Unofficial API for YouTube Music
https://ytmusicapi.readthedocs.io
MIT License
1.71k stars 194 forks source link

SAPISIDHASH isn't correctly calculating #576

Closed powerball123 closed 5 months ago

powerball123 commented 5 months ago

Hi,

The SAPISIDHASH isn't correctly calculating so when getMainPage run I get the following error 'could not find "ytcfg". Are you sure SID, HSID, SSID, APISID, SAPISID are correct?'

I have to relog into my youtube studio and then add my cookies and session token back in. I think its because SAPISIDHASH isn't calculating correctly after youtube studio refreshes it?

powerball123 commented 5 months ago

sorry it's correctly calculating but when i try call it again, I can't get the VISITOR_DATA variable

sigma67 commented 5 months ago

I'm not sure what you're doing, but this library does not work with YouTube studio