-
Notifications
You must be signed in to change notification settings - Fork 63
500 error when selecting episodes #216
Comments
Is the issue still there? I can't reproduce it atm. |
I am having the same problem. See here on how to change the locale: https://stackoverflow.com/questions/59909992/temporarily-change-powershell-language-to-english (I used the Use-Culture cmdlet) I think the solution here is to allow for a cmd line argument to override the locale used to call the API. |
That's for sure an interesting read. Unfortunately I'm not running it in Powershell as I'm a Ubuntu user. I know in yt-dlp there is an option for geo-location-bypass so I guess I need something similar for this. |
@pete2583 try setting the locale of your pc to the targeted cr region. For example, I'm in north america but wanted to download content in french, so the fix in my case was to set my locale to fr-FR. The powershell script was just a way to accomplish this without doing a global change in the entire computer. |
You are able to overwrite your locale which gets used by crunchy-cli with the (root) |
That's interesting. I didn't know that. So if I wanted the UK would I set the lang to: --lang to en/GB Cheers |
@bytedream I am passing the --lang flag, and yet it won't work unless I set my system locale using the powershell script |
Okay that's a bit weird. I'll look into it when I have sufficient time |
Could (one of) you paste the full error output @pete2583 @matheus2740? In the first screenshot provided is more text after |
Hey. So the full error is as below:
|
Ty. This error is triggered by cloudflare which already has its dedicated issue #104, I should've asked earlier for the full error output. But I still don't know how the system locale can decide if the error shows up or not. |
Describe the bug
So I have Crunchy installed on two machines. If I run the same command on both one runs it fine and the other one errors out with a 500 error. Both using the latest version.
To Reproduce
Steps / command to reproduce the behavior:
When running without a specific episode number but with --ignore-existing it produces the same error.
Running it without --ignore-existing or episode number it works fine.
However, on the other machine I can do any combinated of episode requests and it just grabs exactly what I want
Expected behavior
Both will download a single episode of a TV show. But one gives a 500 error along with "a unexpected error occurred: expected value at line 1 column 1 at 1:1 (https://www.crunchyroll.com/content/v2/cms/series/G6JQVM3ER/seasons?locale=en-US&preferred_audio_language=ja-JP): :
"
Screenshots
https://imgur.com/a/0i7jLZd
https://imgur.com/a/fS7cEcK
Client (please complete the following information):
Additional context
Add any other context about the problem here.
The text was updated successfully, but these errors were encountered: