• AnyStream is having some DRM issues currently, Netflix is not available in HD for the time being.
    Situations like this will always happen with AnyStream: streaming providers are continuously improving their countermeasures while we try to catch up, it's an ongoing cat-and-mouse game. Please be patient and don't flood our support or forum with requests, we are working on it 24/7 to get it resolved. Thank you.

Discussion How to download Crunchyroll and what you need...

I tested the provided config.txt that you posted earlier and didn't get that error.


Can you please post the text you have in the batch file that holds the menu?
I have tested everything, mobile hotspot etc. I always get this error. I don't use cloudfare. I have allowed all cookies. Episode loaded in the browser. Download not possible.
 
Cloudflare is on Crunchyroll's side for verification purposes, not on your machine.

The config.txt text you provided is ok. I tested it on my side, and there are no errors when tested with Firefox cookies.

That is why I am asking for the menu text because nothing should be changed there except the "MY_USER_AGENT" to "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:121.0) Gecko/20100101 Firefox/121.0" in this case.


Code:
ECHO OFF
CLS
:MENU
ECHO.
ECHO ...............................................
ECHO Download Crunchyroll
ECHO ...............................................
ECHO.
ECHO 1 - Download via URL
ECHO 2 - Download via BATCH file
ECHO 3 - Check available Subtitle Languages
ECHO 4 - Check update for YT-DLP
ECHO 5 - Check YT-DLP version on your system and current version available online
ECHO 6 - Clear the YT-DLP cache folder
ECHO 7 - EXIT
ECHO.
SET /P M=Type 1, 2, 3, 4, 5, 6 or 7 then press ENTER:
IF %M%==1 GOTO URL
IF %M%==2 GOTO BATCH
IF %M%==3 GOTO SUBTITLE
IF %M%==4 GOTO UPDATE
IF %M%==5 GOTO VERSION
IF %M%==6 GOTO CLEAR
IF %M%==7 GOTO EOF
ECHO.
ECHO %M% is not a valid input.
GOTO MENU
:URL
CLS
ECHO ...............................................
ECHO Download via URL
ECHO ...............................................
ECHO.
SET /P URL="[Enter the video URL of the video to download] "
yt-dlp.exe --config-locations "config.txt" "%URL%"
ECHO ...............................................
ECHO Done.
PAUSE
CLS
GOTO MENU
:BATCH
CLS
ECHO ...............................................
ECHO Download via BATCH file
ECHO ...............................................
ECHO.
@echo off
CLS
setlocal enabledelayedexpansion
:input
set count=100
for /f "delims=" %%a in ('dir /b batch') do (
set /a count+=1
echo !count:~-2!] %%a
)
set /a countMax=count-100
set "countNr=%count:~-2%"
ECHO.
<nul set /p "=Enter the number of the batch file to use: (01...%countNr%, 00 for Menu): "
choice /c 1234567890 /n >nul
set first=%errorlevel:~-1%
<nul set /p "=%first%"
choice /c 1234567890 /n >nul
echo %errorlevel:~-1%
set ch=%first%%errorlevel:~-1%
REM echo that was %ch%
set /a line=1%ch%-101
if "%ch%" == "00" goto escape
if %ch% gtr %countMax% echo bad input&goto :input
for /f "delims=" %%a in ('dir /b batch^|more +%line%') do set "file=%%a"&goto :cont
:cont
ECHO.
echo You selected: %ch% - %file%
ECHO.
echo Task started for batch file: %file%.
ECHO.
yt-dlp.exe --config-locations "config.txt" --batch-file "batch\%file%"
PAUSE
CLS
GOTO MENU
:escape
echo you choose '00' for exit.
GOTO MENU
:UPDATE
CLS
ECHO ...............................................
ECHO Check nightly update for YT-DLP
ECHO ...............................................
ECHO.
yt-dlp.exe --update-to nightly
PAUSE
CLS
GOTO MENU
:SUBTITLE
CLS
ECHO ...............................................
ECHO Check available Subtitle Languages
ECHO ...............................................
ECHO.
SET /P URL="[Enter the video URL to check available subtitle languages] "
yt-dlp.exe --verbose --no-check-certificate --no-geo-bypass --list-subs --user-agent "MY_USER_AGENT" --cookies-from-browser firefox "%URL%"
ECHO ...............................................
ECHO Done.
PAUSE
CLS
GOTO MENU
:VERSION
CLS
ECHO ...............................................
ECHO Check YT-DLP version on your system
ECHO and current version available online
ECHO ...............................................
ECHO.
yt-dlp.exe --version
PAUSE
CLS
GOTO MENU
:CLEAR
CLS
ECHO ...............................................
ECHO Clear the YT-DLP cache folder
ECHO ...............................................
ECHO.
yt-dlp.exe --rm-cache-dir
PAUSE
CLS
GOTO MENU
[code]
 
Code:
ECHO OFF
CLS
:MENU
ECHO.
ECHO ...............................................
ECHO Download Crunchyroll
ECHO ...............................................
ECHO.
ECHO 1 - Download via URL
ECHO 2 - Download via BATCH file
ECHO 3 - Check available Subtitle Languages
ECHO 4 - Check update for YT-DLP
ECHO 5 - Check YT-DLP version on your system and current version available online
ECHO 6 - Clear the YT-DLP cache folder
ECHO 7 - EXIT
ECHO.
SET /P M=Type 1, 2, 3, 4, 5, 6 or 7 then press ENTER:
IF %M%==1 GOTO URL
IF %M%==2 GOTO BATCH
IF %M%==3 GOTO SUBTITLE
IF %M%==4 GOTO UPDATE
IF %M%==5 GOTO VERSION
IF %M%==6 GOTO CLEAR
IF %M%==7 GOTO EOF
ECHO.
ECHO %M% is not a valid input.
GOTO MENU
:URL
CLS
ECHO ...............................................
ECHO Download via URL
ECHO ...............................................
ECHO.
SET /P URL="[Enter the video URL of the video to download] "
yt-dlp.exe --config-locations "config.txt" "%URL%"
ECHO ...............................................
ECHO Done.
PAUSE
CLS
GOTO MENU
:BATCH
CLS
ECHO ...............................................
ECHO Download via BATCH file
ECHO ...............................................
ECHO.
@echo off
CLS
setlocal enabledelayedexpansion
:input
set count=100
for /f "delims=" %%a in ('dir /b batch') do (
set /a count+=1
echo !count:~-2!] %%a
)
set /a countMax=count-100
set "countNr=%count:~-2%"
ECHO.
<nul set /p "=Enter the number of the batch file to use: (01...%countNr%, 00 for Menu): "
choice /c 1234567890 /n >nul
set first=%errorlevel:~-1%
<nul set /p "=%first%"
choice /c 1234567890 /n >nul
echo %errorlevel:~-1%
set ch=%first%%errorlevel:~-1%
REM echo that was %ch%
set /a line=1%ch%-101
if "%ch%" == "00" goto escape
if %ch% gtr %countMax% echo bad input&goto :input
for /f "delims=" %%a in ('dir /b batch^|more +%line%') do set "file=%%a"&goto :cont
:cont
ECHO.
echo You selected: %ch% - %file%
ECHO.
echo Task started for batch file: %file%.
ECHO.
yt-dlp.exe --config-locations "config.txt" --batch-file "batch\%file%"
PAUSE
CLS
GOTO MENU
:escape
echo you choose '00' for exit.
GOTO MENU
:UPDATE
CLS
ECHO ...............................................
ECHO Check nightly update for YT-DLP
ECHO ...............................................
ECHO.
yt-dlp.exe --update-to nightly
PAUSE
CLS
GOTO MENU
:SUBTITLE
CLS
ECHO ...............................................
ECHO Check available Subtitle Languages
ECHO ...............................................
ECHO.
SET /P URL="[Enter the video URL to check available subtitle languages] "
yt-dlp.exe --verbose --no-check-certificate --no-geo-bypass --list-subs --user-agent "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:121.0) Gecko/20100101 Firefox/121.0" --cookies-from-browser firefox "%URL%"
ECHO ...............................................
ECHO Done.
PAUSE
CLS
GOTO MENU
:VERSION
CLS
ECHO ...............................................
ECHO Check YT-DLP version on your system
ECHO and current version available online
ECHO ...............................................
ECHO.
yt-dlp.exe --version
PAUSE
CLS
GOTO MENU
:CLEAR
CLS
ECHO ...............................................
ECHO Clear the YT-DLP cache folder
ECHO ...............................................
ECHO.
yt-dlp.exe --rm-cache-dir
PAUSE
CLS
GOTO MENU
[code]
 
Cloudflare is on Crunchyroll's side for verification purposes, not on your machine.

The config.txt text you provided is ok. I tested it on my side, and there are no errors when tested with Firefox cookies.

That is why I am asking for the menu text because nothing should be changed there except the "MY_USER_AGENT" to "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:121.0) Gecko/20100101 Firefox/121.0" in this case.


Code:
ECHO OFF
CLS
:MENU
ECHO.
ECHO ...............................................
ECHO Download Crunchyroll
ECHO ...............................................
ECHO.
ECHO 1 - Download via URL
ECHO 2 - Download via BATCH file
ECHO 3 - Check available Subtitle Languages
ECHO 4 - Check update for YT-DLP
ECHO 5 - Check YT-DLP version on your system and current version available online
ECHO 6 - Clear the YT-DLP cache folder
ECHO 7 - EXIT
ECHO.
SET /P M=Type 1, 2, 3, 4, 5, 6 or 7 then press ENTER:
IF %M%==1 GOTO URL
IF %M%==2 GOTO BATCH
IF %M%==3 GOTO SUBTITLE
IF %M%==4 GOTO UPDATE
IF %M%==5 GOTO VERSION
IF %M%==6 GOTO CLEAR
IF %M%==7 GOTO EOF
ECHO.
ECHO %M% is not a valid input.
GOTO MENU
:URL
CLS
ECHO ...............................................
ECHO Download via URL
ECHO ...............................................
ECHO.
SET /P URL="[Enter the video URL of the video to download] "
yt-dlp.exe --config-locations "config.txt" "%URL%"
ECHO ...............................................
ECHO Done.
PAUSE
CLS
GOTO MENU
:BATCH
CLS
ECHO ...............................................
ECHO Download via BATCH file
ECHO ...............................................
ECHO.
@echo off
CLS
setlocal enabledelayedexpansion
:input
set count=100
for /f "delims=" %%a in ('dir /b batch') do (
set /a count+=1
echo !count:~-2!] %%a
)
set /a countMax=count-100
set "countNr=%count:~-2%"
ECHO.
<nul set /p "=Enter the number of the batch file to use: (01...%countNr%, 00 for Menu): "
choice /c 1234567890 /n >nul
set first=%errorlevel:~-1%
<nul set /p "=%first%"
choice /c 1234567890 /n >nul
echo %errorlevel:~-1%
set ch=%first%%errorlevel:~-1%
REM echo that was %ch%
set /a line=1%ch%-101
if "%ch%" == "00" goto escape
if %ch% gtr %countMax% echo bad input&goto :input
for /f "delims=" %%a in ('dir /b batch^|more +%line%') do set "file=%%a"&goto :cont
:cont
ECHO.
echo You selected: %ch% - %file%
ECHO.
echo Task started for batch file: %file%.
ECHO.
yt-dlp.exe --config-locations "config.txt" --batch-file "batch\%file%"
PAUSE
CLS
GOTO MENU
:escape
echo you choose '00' for exit.
GOTO MENU
:UPDATE
CLS
ECHO ...............................................
ECHO Check nightly update for YT-DLP
ECHO ...............................................
ECHO.
yt-dlp.exe --update-to nightly
PAUSE
CLS
GOTO MENU
:SUBTITLE
CLS
ECHO ...............................................
ECHO Check available Subtitle Languages
ECHO ...............................................
ECHO.
SET /P URL="[Enter the video URL to check available subtitle languages] "
yt-dlp.exe --verbose --no-check-certificate --no-geo-bypass --list-subs --user-agent "MY_USER_AGENT" --cookies-from-browser firefox "%URL%"
ECHO ...............................................
ECHO Done.
PAUSE
CLS
GOTO MENU
:VERSION
CLS
ECHO ...............................................
ECHO Check YT-DLP version on your system
ECHO and current version available online
ECHO ...............................................
ECHO.
yt-dlp.exe --version
PAUSE
CLS
GOTO MENU
:CLEAR
CLS
ECHO ...............................................
ECHO Clear the YT-DLP cache folder
ECHO ...............................................
ECHO.
yt-dlp.exe --rm-cache-dir
PAUSE
CLS
GOTO MENU
[code]
Always the same error
 
Is it possible, that there is another config file in the folder?
Can you please show a screenshot of the folder contents where the script is located?
 
Are you located in the same country as the Crunchyroll content you are trying to download?
Or are you using a VPN?
 
Are you located in the same country as the Crunchyroll content you are trying to download?
Or are you using a VPN?
I don't use a VPN, I can stream the entire content in the app and in the browser.
Premium member Germany
 
I'm quite at a loss here ... the error is pointing to something wrong with your config, but tectpro tested it fine... :unsure:
 
I don't use a VPN, I can stream the entire content in the app and in the browser
The problem is that if there is a VPN it might work in the app and browser but can cause issues in yt-dlp.

Please open a command line terminal in the folder in which you have your yt-dlp.exe located and run this line:
yt-dlp.exe --version
Please post a screenshot of the result.
 
I'm quite at a loss here ... the error is pointing to something wrong with your config, but tectpro tested it fine... :unsure:
Ok. I was able to replicate the error even with the latest nightly.

Two scenarios trigger the issue:
1. The user agent browser is a mismatch.

2. When determining the subtitle languages, Cloudflare pops up—checking if that is a setting.

Downloads are not affected.
 
The problem is that if there is a VPN it might work in the app and browser but can cause issues in yt-dlp.

Please open a command line terminal in the folder in which you have your yt-dlp.exe located and run this line:
yt-dlp.exe --version
Please post a screenshot of the result.
2024.01.02.232714
 
Ok. I was able to replicate the error even with the latest nightly.

Two scenarios trigger the issue:
1. The user agent browser is a mismatch.

2. When determining the subtitle languages, Cloudflare pops up—checking if that is a setting.

Downloads are not affected.
Downloads are affected, it doesn't load anything
 
2024.01.02.232714
Try to run this command in the command line terminal:

yt-dlp.exe --verbose --no-check-certificate --no-geo-bypass --list-subs --list-formats --extractor-args crunchyrollbeta:hardsub=all --user-agent "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:121.0) Gecko/20100101 Firefox/121.0" --cookies-from-browser firefox https://www.crunchyroll.com/de/watch/GRVDQ1G4R/the-land-of-wano-to-the-samurai-country-where-cherry-blossoms-flutter
 
Try to run this command in the command line terminal:

yt-dlp.exe --verbose --no-check-certificate --no-geo-bypass --list-subs --list-formats --extractor-args crunchyrollbeta:hardsub=all --user-agent "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:121.0) Gecko/20100101 Firefox/121.0" --cookies-from-browser firefox https://www.crunchyroll.com/de/watch/GRVDQ1G4R/the-land-of-wano-to-the-samurai-country-where-cherry-blossoms-flutter[/code]
it doesn't load cookies and the same error
 
it doesn't load cookies and the same error
Ok, there is a newer version available in the nightly section.
With that one, I do not get that error for determining the subtitles.

Close Firefox.
Update to the latest nightly, use the command line terminal that is open in the folder where yt-dlp.exe is and run this command
yt-dlp.exe --update-to nightly
After that run command
yt-dlp --rm-cache-dir to clear the yt-dlp cache.
Go to firefox play the episode and try again.
Try the command line to determine the subtitles again
yt-dlp.exe --verbose --no-check-certificate --no-geo-bypass --list-subs --list-formats --extractor-args crunchyrollbeta:hardsub=all --user-agent "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:121.0) Gecko/20100101 Firefox/121.0" --cookies-from-browser firefox https://www.crunchyroll.com/de/watch/GRVDQ1G4R/the-land-of-wano-to-the-samurai-country-where-cherry-blossoms-flutter

If this doesn't work, you will need to check if there is an ongoing issue or open an issue on the GitHub side of yt-dlp.
 
Ok, there is a newer version available in the nightly section.
With that one, I do not get that error for determining the subtitles.

Close Firefox.
Update to the latest nightly, use the command line terminal that is open in the folder where yt-dlp.exe is and run this command
yt-dlp.exe --update-to nightly
After that run command
yt-dlp --rm-cache-dir to clear the yt-dlp cache.
Go to firefox play the episode and try again.
Try the command line to determine the subtitles again
yt-dlp.exe --verbose --no-check-certificate --no-geo-bypass --list-subs --list-formats --extractor-args crunchyrollbeta:hardsub=all --user-agent "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:121.0) Gecko/20100101 Firefox/121.0" --cookies-from-browser firefox https://www.crunchyroll.com/de/watch/GRVDQ1G4R/the-land-of-wano-to-the-samurai-country-where-cherry-blossoms-flutter

If this doesn't work, you will need to check if there is an ongoing issue or open an issue on the GitHub side of yt-dlp.
Same mistake. It's best to wait for crunchyroll in anystream. I doubt this will be solved on github
 
Here is my stuff, using yt-dlp 2023.11.16. Haven't updated it to the newest version after using it last time.
If this post has no attachement, the file is too big for the forum and I will post a link shortly.
 
Here you go.
 
Back
Top