Closed nikunjmishra1998 closed 4 months ago
api works, only youtube doesn't work
i can't replicate the issue, can you try again?
for future reference: there’s a dedicated template for issues related to the main instance.
if the problem is fixed on your side, close this issue as completed.
for local developemt it's still throwing error as shown in attached screen shot
curl --location 'http://localhost:9000/api/json' \ --header 'accept: application/json' \ --header 'content-type: application/json' \ --header 'sec-ch-ua: "Google Chrome";v="117", "Not;A=Brand";v="8", "Chromium";v="117"' \ --header 'sec-ch-ua-mobile: ?0' \ --header 'sec-ch-ua-platform: "Windows"' \ --header 'sec-fetch-dest: empty' \ --header 'sec-fetch-mode: cors' \ --header 'sec-fetch-site: cross-site' \ --data '{ "url": "https://youtu.be/fdhEPblKfdY", "aFormat": "mp3", "isAudioOnly": true, "isNoTTWatermark": true, "vQuality": "720" }'
Above Curl I am using
does main instance work or not?
local instance may need a google account token to work
Yes, Main instance worked.
but till before an 2 hour ago local instance also was worked without any google account token
then youtube might have changed something regarding your ip range (i suppose?)
it should not because I tried to develop today after so long. And I also not made that much amount of request to youtube
it should not because I tried to develop today after so long. And I also not made that much amount of request to youtube
The same happened to me too. I guess YouTube updated something recently as now without a cookie nothing work. So just use cookies ig
No, It's Youtubei.js Package update issue. They have updated their package yesterday. So Use the 10.1.0 latest version and it's working without cookie
we also updated cobalt to be compatible with the new version yesterday. if you’re running cobalt in a docker container with watchtower, it should’ve updated itself by now.
bug description
Cobalt tools not working for any of the youtube video download
reproduction steps
steps to reproduce the described behavior.
here's an example of what it could look like:
screenshots