hama3254 / Crunchyroll-Downloader-v3.0

Downloader for Crunchyroll
841 stars 109 forks source link

ERROR 403 #938

Closed JOXX3 closed 5 months ago

JOXX3 commented 5 months ago

Hello. Today I tried to download some episodes of One Piece, but I get error #403. I already tried the new version and registered my account in the downloader and even used the hybrid version, but I have not been successful in downloading. Until yesterday the downloads worked, but not today. I attach the message:

Error Obtención de curva (22) La URL solicitada, error devuelto: 403

En crunchyroll downloader. Obtener datos. CurlAuthNoticias (Streing Url String Cookies, String Auth, Boolean Testi in C-Projecte Crunchyroll Downloader v3.0-final Crunchyroll-Downloader-v3.0- CefSharp Crunchyroll Descargar GetData.vb línea 197 en Crunchyroll Downloader Main GetCRVideo (String Streams, String AuthToken, String WebsiteURL, Int32 RI Count en CAProjecte Crunchyroll Downloader- v3.0-final Crunchyroll-Downloader-3.0-CefSharp Crunchrayll Downloader.Mamb-Mamb- 1907

ZolXick commented 5 months ago

I also have that problem, I already updated to v3.21 since before I had v3.20.1 but I still have the problem with error 403 image

jalari06 commented 5 months ago

Sigh, I knew it was too good to last. I'll bet they nerfed things again to prevent us again. FING CR!!! I hope it can be fixed, but its probably an uphill battle as any time we find a fix or a way around it, they will just change something again. Just so depressing!

SquadCraftFTW commented 5 months ago

Same issue here.

I'm not really into the meta, but is crunchyroll cracking down on this because of the Konosuba leaks?

sahtanoj commented 5 months ago

Unfortunately this problem reoccurred. I hope it can be easily bypassed by @hama3254 . ^^

TaMaGo-TTV commented 5 months ago

Yeah same, not even Subs are Downloading Big F

hama3254 commented 5 months ago

The API endpoint does not seem to work at all. We used /console/switch/play which now returns http code 403 with the data {"error":"Invalid client id"}.

The default respone should be {"error":"Unsupported device type"} with 403 if the request is nonsene.

Other option still work but are all DRM protected (all that i found with trial and error).

web enpoints

/web/firefox/play /web/edge/play /web/safari/play /web/chrome/play /web/fallback/play

console enpoints

/console/switch/play /console/ps4/play /console/ps5/play /console/xbox_one/play

also the apple stuff

/ios/iphone/play /ios/ipad/play

older versions might be able to still get the subtitles

TaMaGo-TTV commented 5 months ago

The API endpoint does not seem to work at all. We used /console/switch/play which now returns http code 403 with the data {"error":"Invalid client id"}.

The default respone should be {"error":"Unsupported device type"} with 403 if the request is nonsene.

Other option still work but are all DRM protected (all that i found with trial and error).

web enpoints

/web/firefox/play /web/edge/play /web/safari/play /web/chrome/play /web/fallback/play

console enpoints

/console/switch/play /console/ps4/play /console/ps5/play /console/xbox_one/play

also the apple stuff

/ios/iphone/play /ios/ipad/play

older versions might be able to still get the subtitles

Alles klar dann versuche ich mich da mal durch, hab zwar noch Streamlabs aber dort bekommt man nur SRT Files womit ich absolut nichts anfangen kann.

Edit: Ja, die 3.19 Sub only Version funktioniert

pratyushpati11 commented 5 months ago

Crunchy added additional security to the endpoint for non-DRM streams

pratyushpati11 commented 5 months ago

But it's still non DRM.

AsIFall commented 5 months ago

So, I will patiently for a fixed version of CR Downloader as I have no clue to solve those problems at all.

BlastedMarble commented 5 months ago

Going back to a previous version of the downloader doesn't fix things at all, unfortunately. Just pointing it out in case people were gonna try that.

bytedream commented 5 months ago

@hama3254 the switch endpoint updated its behavior, the most interesting for you is probably that the etp_rt cookie login method doesn't work anymore (well it works, but not for the switch endpoint). As far as I can tell any token that is generated by the browser cannot be used for the switch endpoint (anymore). The 403 response has "invalid_client" as part of its error message. This probably refers to the client_id field in the jwt/token payload which is cr_backend or cr_web if generated with the browser. The only method left to generate a valid token is an api request to the token endpoint with a switch specific Authorization header.


These are the requests that will produce a working token:

Gain jwt/access token (and refresh token that is requred to re-request the access token after it's expired) with email and password:

POST https://www.crunchyroll.com/auth/v1/token
Authorization: Basic dC1rZGdwMmg4YzNqdWI4Zm4wZnE6eWZMRGZNZnJZdktYaDRKWFMxTEVJMmNDcXUxdjVXYW4=
Content-Type: application/x-www-form-urlencoded

username=<email>&password=<password>&grant_type=password&scope=offline_access

Request new jwt/access token with a refresh token:

POST https://www.crunchyroll.com/auth/v1/token
Authorization: Basic dC1rZGdwMmg4YzNqdWI4Zm4wZnE6eWZMRGZNZnJZdktYaDRKWFMxTEVJMmNDcXUxdjVXYW4=
Content-Type: application/x-www-form-urlencoded

refresh_token=<refresh token>&grant_type=refresh_token&scope=offline_access
mksbil commented 5 months ago

The API endpoint does not seem to work at all. We used /console/switch/play which now returns http code 403 with the data {"error":"Invalid client id"}.

The default respone should be {"error":"Unsupported device type"} with 403 if the request is nonsene.

Other option still work but are all DRM protected (all that i found with trial and error).

web enpoints

/web/firefox/play /web/edge/play /web/safari/play /web/chrome/play /web/fallback/play

console enpoints

/console/switch/play /console/ps4/play /console/ps5/play /console/xbox_one/play

also the apple stuff

/ios/iphone/play /ios/ipad/play

older versions might be able to still get the subtitles

I don't understand pls fix and upload

mksbil commented 5 months ago

P0

@hama3254 the switch endpoint updated its behavior, the most interesting for you is probably that the etp_rt cookie login method doesn't work anymore (well it works, but not for the switch endpoint)

Any other option to download

AsIFall commented 5 months ago

The API endpoint does not seem to work at all. We used /console/switch/play which now returns http code 403 with the data {"error":"Invalid client id"}. The default respone should be {"error":"Unsupported device type"} with 403 if the request is nonsene. Other option still work but are all DRM protected (all that i found with trial and error). web enpoints /web/firefox/play /web/edge/play /web/safari/play /web/chrome/play /web/fallback/play console enpoints /console/switch/play /console/ps4/play /console/ps5/play /console/xbox_one/play also the apple stuff /ios/iphone/play /ios/ipad/play older versions might be able to still get the subtitles

Alles klar dann versuche ich mich da mal durch, hab zwar noch Streamlabs aber dort bekommt man nur SRT Files womit ich absolut nichts anfangen kann.

Edit: Ja, die 3.19 Sub only Version funktioniert

Fragen: Ich habe jetzt vermehrt darüber gelesen, dass man mit SRT-Dateien (ich glaube, das sind die Untertitel) nicht viel anfangen kann. Was genau ist das Problem mit diesen Dateien? Ich benutze neben den CR Downloader auch eine Software namens Avidemux, um die heruntergeladenen Files zu kodieren und zu komprimieren. Mit dem Programm kann man auch Untertitel einfügen, wenn das Video keine Untertitel hat. Wie viel kostet Streamlabs? Ich möchte mir (für den Fall der Fälle) eine Alternative besorgen, sollte der Crunchyroll Downloader in der Zukunft nicht mehr nutzbar sein.

pratyushpati11 commented 5 months ago

Seems anidl has fixed their service.

AsIFall commented 5 months ago

Seems anidl has fixed their service.

Which means?

Aiyomi-Irirako commented 5 months ago

The API endpoint does not seem to work at all. We used /console/switch/play which now returns http code 403 with the data {"error":"Invalid client id"}. The default respone should be {"error":"Unsupported device type"} with 403 if the request is nonsene. Other option still work but are all DRM protected (all that i found with trial and error). web enpoints /web/firefox/play /web/edge/play /web/safari/play /web/chrome/play /web/fallback/play console enpoints /console/switch/play /console/ps4/play /console/ps5/play /console/xbox_one/play also the apple stuff /ios/iphone/play /ios/ipad/play older versions might be able to still get the subtitles

Alles klar dann versuche ich mich da mal durch, hab zwar noch Streamlabs aber dort bekommt man nur SRT Files womit ich absolut nichts anfangen kann. Edit: Ja, die 3.19 Sub only Version funktioniert

Fragen: Ich habe jetzt vermehrt darüber gelesen, dass man mit SRT-Dateien (ich glaube, das sind die Untertitel) nicht viel anfangen kann. Was genau ist das Problem mit diesen Dateien? Ich benutze neben den CR Downloader auch eine Software namens Avidemux, um die heruntergeladenen Files zu kodieren und zu komprimieren. Mit dem Programm kann man auch Untertitel einfügen, wenn das Video keine Untertitel hat. Wie viel kostet Streamlabs? Ich möchte mir (für den Fall der Fälle) eine Alternative besorgen, sollte der Crunchyroll Downloader in der Zukunft nicht mehr nutzbar sein.

Du siehst, doch wie hübsch die untertitel von cr sind. Srt kann das einfach nicht deswegen ist das Format auch scheiße

dok1100 commented 5 months ago

Seems anidl has fixed their service.

Which means?

Das heißt das bei anidl der download funktioniert, genauso wie bei crunchy-cli von bytedream. Gib hama3254 etwas Zeit die Info von bytedream umzusetzen. Um noch schnell zu den 2 anderen Sachen zu kommen. Bei den srt Untertiteln gibt es keine Schriftarten, keine bewegten Texte und noch einiges mehr. Ich würde ass immer bevorzugen wenn es um Crunchy geht. Die zweite Sache mit Streamlabs, zahl niemals Geld für sowas. Es gibt einige tools die das umsonst können. Und ich bin bytedream, hama3254, AnimeDL und noch weitere, sehr dankbar das sie ihre Freizeit opfern und uns solche tools zur verfügung stellen.

English This means that the download works with anidl, just like with crunchy-cli from bytedream. Give hama3254 some time to implement the information from bytedream. To quickly get to the other two things. With srt subtitles there are no fonts, no moving texts and much more. I would always prefer ass when it comes to crunchy. The second thing with Streamlabs, never pay money for something like that. There are some tools that can do this for free. And I am very grateful to bytedream, hama2354, AnimeDL and others for making the tools in their free time and making them available to us.

AsIFall commented 5 months ago

Seems anidl has fixed their service.

Which means?

Das heißt das bei anidl der download funktioniert, genauso wie bei crunchy-cli von bytedream. Gib hama3254 etwas Zeit die Info von bytedream umzusetzen. Um noch schnell zu den 2 anderen Sachen zu kommen. Bei den srt Untertiteln gibt es keine Schriftarten, keine bewegten Texte und noch einiges mehr. Ich würde ass immer bevorzugen wenn es um Crunchy geht. Die zweite Sache mit Streamlabs, zahl niemals Geld für sowas. Es gibt einige tools die das umsonst können. Und ich bin bytedream, hama2354, AnimeDL und noch weitere, sehr dankbar das sie ihre Freizeit opfern und uns solche tools zur verfügung stellen.

English This means that the download works with anidl, just like with crunchy-cli from bytedream. Give hama3254 some time to implement the information from bytedream. To quickly get to the other two things. With srt subtitles there are no fonts, no moving texts and much more. I would always prefer ass when it comes to crunchy. The second thing with Streamlabs, never pay money for something like that. There are some tools that can do this for free. And I am very grateful to bytedream, hama2354, AnimeDL and others for making the tools in their free time and making them available to us.

Danke für die Informationen bezüglich SRT. Ja, ich warte auch ganz brav und geduldig. :-) Natürlich bin ich hama und co. sehr dankbar für ihre Arbeit und Zeit, die sie für uns investieren, damit wir ihre Software nutzen können.

hama3254 commented 5 months ago

@bytedream many thanks it works nice.

for everyone else i see that i add this without hardcoding my own login data into the downloader, i dont have any UI/process for login details because until now i just used the cookies from the browser. grafik

gamer191 commented 5 months ago

web enpoints

/web/firefox/play /web/edge/play /web/safari/play /web/chrome/play /web/fallback/play

console enpoints

/console/switch/play /console/ps4/play /console/ps5/play /console/xbox_one/play

also the apple stuff

/ios/iphone/play /ios/ipad/play

Sorry, I forgot to include the endpoints I’d tested in my original message about the Switch endpoint. Here’s some more endpoints (all are DRM protected, last time I checked):

/android/phone/play
/android/tablet/play
/ios/vision/play (Apple Vision Pro)
/tv/samsung/play
/tv/lg/play

EDIT: congrats on finding the web fallback and Xbox_One endpoints. I was wondering where the Xbox endpoint was, but I couldn’t find it😂

sahtanoj commented 5 months ago

@bytedreammuito obrigado, funciona bem.

para todos os outros, vejo que adiciono isso sem codificar meus próprios dados de login no downloader, não tenho nenhuma UI/processo para detalhes de login porque até agora eu apenas usei os cookies do navegador. gráfico

I'm glad you managed to find a solution. Now we just have to wait for the functional update. ^^

jalari06 commented 5 months ago

@bytedream many thanks it works nice.

for everyone else i see that i add this without hardcoding my own login data into the downloader, i dont have any UI/process for login details because until now i just used the cookies from the browser. grafik

Forgive me as I don't read german (at least I think those posts were in german), does this mean that there is a solution, you just need to code in a way for us to enter our actual login info instead of trying to pull the info from the cookies? I REALLY hope I am reading that right as since losing this program a second time, I've been very sad. I really hope this will solve it once and for all. Thanks!

Serpentstar commented 5 months ago

I am clearly not a coder, but I bet if he added an edit point into the configuration file (or created a cred file) and had us all manually enter our own credentials, it could resolve the base issue without him having to hard code his own login into the application. He has done some damned fine work already.

hama3254 commented 5 months ago

v3.22 is live and all issue with it should be added to #941

segurafifa2006 commented 5 months ago

v3.22 already fails system exception error gettingad main 4494 Error Obtención de curva (22) La URL solicitada, error devuelto: 401

jalari06 commented 5 months ago

v3.22 already fails system exception error gettingad main 4494 Error Obtención de curva (22) La URL solicitada, error devuelto: 401

image

Not sure what you mean as its working fine for me. May want to double check your user name and password you used.

issamrehabi commented 5 months ago

image help

jalari06 commented 5 months ago

image help

Exactly what it says, you need to your your Crunchyroll login info directly now because of the API changes.

issamrehabi commented 5 months ago

merci beaucoup

teogaming201 commented 4 months ago

@hama3254 the switch endpoint updated its behavior, the most interesting for you is probably that the etp_rt cookie login method doesn't work anymore (well it works, but not for the switch endpoint). As far as I can tell any token that is generated by the browser cannot be used for the switch endpoint (anymore). The 403 response has "invalid_client" as part of its error message. This probably refers to the client_id field in the jwt/token payload which is cr_backend or cr_web if generated with the browser. The only method left to generate a valid token is an api request to the token endpoint with a switch specific Authorization header.

These are the requests that will produce a working token:

Gain jwt/access token (and refresh token that is requred to re-request the access token after it's expired) with email and password:

POST https://www.crunchyroll.com/auth/v1/token
Authorization: Basic dC1rZGdwMmg4YzNqdWI4Zm4wZnE6eWZMRGZNZnJZdktYaDRKWFMxTEVJMmNDcXUxdjVXYW4=
Content-Type: application/x-www-form-urlencoded

username=<email>&password=<password>&grant_type=password&scope=offline_access

Request new jwt/access token with a refresh token:

POST https://www.crunchyroll.com/auth/v1/token
Authorization: Basic dC1rZGdwMmg4YzNqdWI4Zm4wZnE6eWZMRGZNZnJZdktYaDRKWFMxTEVJMmNDcXUxdjVXYW4=
Content-Type: application/x-www-form-urlencoded

refresh_token=<refresh token>&grant_type=refresh_token&scope=offline_access

still don't get it, you need to screenshot to let me know how do this?

santamnata commented 3 months ago

use this method : open crunchyroll and reset your account to test