Open BuyMyMojo opened 2 years ago
It would be nice to be fixed (l.ike before, with sub download, etc.), so I wonder, for "account-needed", does cookie suffice? And if so, how shall I go about that?
account-needed
? It occurs without an account using cookies of a session that's not even logged in.
Hmm, I am not that comfortable sharing username and password for Crunchyroll but can share cookies after logging in (that I would use with yt-dlp to do wnload), if that can help.
I was not able to access the video. So I assumed account is needed. But it could be due to geo-restriction
Surprisingly, when I tried the latest yt-dlp with -u and -p instead of the --cookies, all worked fine, and there was no error. So not all look bad at this point.
getting the same xml error on https://beta.crunchyroll.com/watch/G2XU0J84D/the-monster-in-a-perpetual-cycle-of-death-and-rebirth-struggles-to-break-its-chains-until-seduced-by-a-soul-entrapped-by-destiny Can confirm that i have access to the video in my region via the browser but youtube dlp will not work
for me the fix for this was opting OUT of the beta on my account
I may be having a similar issue with https://beta.crunchyroll.com/watch/G6P8QVW16/sword I also can't find anywhere to opt out of "beta"...
My mistake, other videos had worked at what I expect is full quality, so I had assumed the login stuff worked.
yt-dlp has an easier to use --cookies-from-browser firefox or --cookies-from-browser chrome OR it's possible (and more secure) to hand it just the cookies for a specific site --cookies ~/.crunchy-cookies.txt E.G.
#!/bin/sh
set -e
OUTFILE="${1:-~/.crunchy-cookies.txt}"
SQLFILE="${2:-~/.mozilla/firefox/FIXME.PROFILE/cookies.sqlite}"
# Have to copy cookies.sqlite, because FireFox has a lock on it
TMPFILE=`mktemp /tmp/cookies.sqlite.XXXXXXXXXX`
cp "$SQLFILE" $TMPFILE
# This is the format of the sqlite database:
# CREATE TABLE moz_cookies (id INTEGER PRIMARY KEY, name TEXT, value TEXT, host TEXT, path TEXT,expiry INTEGER, lastAccessed INTEGER, isSecure INTEGER, isHttpOnly INTEGER);
echo "# Netscape HTTP Cookie File" > "$OUTFILE"
sqlite3 -separator $'\t' $TMPFILE >> "$OUTFILE" << "EOF"
.mode tabs
.header off
select host,
case substr(host,1,1)='.' when 0 then 'FALSE' else 'TRUE' end,
path,
case isSecure when 0 then 'FALSE' else 'TRUE' end,
expiry,
name,
value
from moz_cookies
where host LIKE '%crunchyroll.com';
EOF
rm $TMPFILE 2>/dev/null || true
Checklist
Region
Australia
Description
yt-dlp is unable to find the URL for media info on Crunchyroll.
Verbose log