Comments (14)
I'm looking into it @bashonly was faster than me^^
from yt-dlp.
Was that with free content?
--cookies-from-browser
alone shouldn't work for premium content anymore
You are right, I was working with a free video. Indeed, premium content only works with username and password
sorry for the confusion...
from yt-dlp.
from yt-dlp.
This seems to be a new issue unrelated to #7442 :(
from yt-dlp.
Probably related: crunchy-labs/crunchy-cli#382
from yt-dlp.
Looks like they said they fixed it in that last comment @rdamas?
from yt-dlp.
Yes. If it's related, then the cause is, that login with "etp rt cookie" won't work anymore for the console/switch/play endpoint. crunchy-labs/crunchyroll-rs@e4534cf
from yt-dlp.
Is the fix just using those new tokens? That's it? o_O
from yt-dlp.
@NSExceptional , Nope i tried multiples compilations, editing _BASIC_AUTH value with the burned in crunchy-labs/crunchyroll-rs@e4534cf
I tried with cliend_id and password grant_type, tried adding offline_access scope ...
Nothing is working, i will try more based on crunchy-cli code, but i hope that a user with CFW Switch can do the same as @bytedream in the crunchy-cli project but for yt-dlp
from yt-dlp.
thank you very much @bashonly!!!!
compiled with your changes and working with --username and --password. I have also verified that it works with --cookies-from-browser
from yt-dlp.
I have also verified that it works with --cookies-from-browser
@fe80Grau can you clarify what you mean by this?
Do you just mean that using --cookies-from-browser
for the Cloudflare bypass does not conflict with also using --username
and --password
?
from yt-dlp.
Same here. It works with
--cookies-from-browser firefox
--username "[email protected]"
--password "xyz"
Damn good work. Thank you.
(At this time, it works in the background)
[debug] Command-line config: ['--cookies-from-browser', 'firefox', '--username', 'PRIVATE', '--password', 'PRIVATE', '--user-agent', 'Mozilla/5.0 (X11; Linux x86_64; rv:109.0) Gecko/20100101 Firefox/115.0', '--sub-langs', 'de-DE', '--write-description', '--write-thumbnail', '--write-subs', '--progress', '--extractor-args', 'crunchyrollbeta:hardsub=de-DE', '-v', 'https://www.crunchyroll.com/de/watch/GEVUZ7Q31/a-little-partner']
[debug] Encodings: locale UTF-8, fs utf-8, pref UTF-8, out utf-8, error utf-8, screen utf-8
[debug] yt-dlp version [email protected] from yt-dlp/yt-dlp [ff07792] (zip)
[debug] Python 3.9.2 (CPython x86_64 64bit) - Linux-5.10.0-28-amd64-x86_64-with-glibc2.31 (OpenSSL 1.1.1w 11 Sep 2023, glibc 2.31)
[debug] exe versions: ffmpeg 4.3.6-0, ffprobe 4.3.6-0, phantomjs 2.1.1, rtmpdump 2.4
[debug] Optional libraries: Cryptodome-3.9.7, certifi-2020.06.20, mutagen-1.45.1, pyxattr-0.7.2, requests-2.25.1, sqlite3-3.34.1, urllib3-1.26.5
[debug] Proxy map: {}
Extracting cookies from firefox
[debug] Extracting cookies from: "/home/smile/.mozilla/firefox/hcnyma4n.default/cookies.sqlite"
Extracted 74 cookies from firefox
[debug] Request Handlers: urllib
[debug] Loaded 1810 extractors
[debug] Loading [email protected] from cache
[crunchyroll] Extracting URL: https://www.crunchyroll.com/de/watch/GEVUZ7Q31/a-little-partner
[crunchyroll] Requesting access token
[crunchyroll] GEVUZ7Q31: Downloading object info JSON (cms)
[crunchyroll] GEVUZ7Q31: Downloading stream info
[crunchyroll] Available hardsub languages: en-US, de-DE, es-419, fr-FR, it-IT, pt-BR, ru-RU, ar-SA
[crunchyroll] To extract formats of a hardsub language, use "--extractor-args crunchyrollbeta:hardsub=<language_code or all>". See https://github.com/yt-dlp/yt-dlp#crunchyrollbeta-crunchyroll for more info
[crunchyroll] GEVUZ7Q31: Downloading hardsub-de-DE MPD manifest
[crunchyroll] GEVUZ7Q31: Downloading chapter info
[info] GEVUZ7Q31: Downloading subtitles: de-DE
[debug] Formats sorted by: hasvid, ie_pref, lang, quality, res, fps, hdr:12(7), vcodec:vp9.2(10), channels, acodec, size, br, asr, proto, vext, aext, hasaud, source, id
[debug] Default format spec: bestvideo*+bestaudio/best
[info] GEVUZ7Q31: Downloading 1 format(s): hardsub-de-DE-f2-v1-x3+hardsub-de-DE-f1-a1-x3
[info] Writing video description to: THE NEW GATE Episode 2 – A Little Partner [GEVUZ7Q31].description
[info] Writing video subtitles to: THE NEW GATE Episode 2 – A Little Partner [GEVUZ7Q31].de-DE.ass
[debug] Invoking http downloader on "https://v.vrv.co/evs3/72e1...."
[download] Destination: THE NEW GATE Episode 2 – A Little Partner [GEVUZ7Q31].de-DE.ass
[download] 100% of 47.29KiB in 00:00:00 at 422.06KiB/s
[info] Downloading video thumbnail 7 ...
[info] Writing video thumbnail 7 to: THE NEW GATE Episode 2 – A Little Partner [GEVUZ7Q31].jpe
[debug] Invoking dashsegments downloader on "https://cr-play-service.prd.crunchyrollsvc.com/v1/manifest/GEVUZ7Q31/evs3/..."
[dashsegments] Total fragments: 356
[download] Destination: THE NEW GATE Episode 2 – A Little Partner [GEVUZ7Q31].fhardsub-de-DE-f2-v1-x3.mp4
[download] 1.2% of ~ 1.25GiB at 1.66MiB/s ETA 02:33:22 (frag 5/356)`
from yt-dlp.
I have also verified that it works with --cookies-from-browser
@fe80Grau can you clarify what you mean by this?
Do you just mean that using
--cookies-from-browser
for the Cloudflare bypass does not conflict with also using--username
and--password
?
I first tried with username and password and then with cookies-from-browser (without username and password), both work for me.
from yt-dlp.
Was that with free content? --cookies-from-browser
alone shouldn't work for premium content anymore
from yt-dlp.
Related Issues (20)
- --merge-output-format mkv / Resulting file is missing bit rate metadata HOT 5
- Unable to download the meta data of Vimeo video HOT 2
- Vimeo - Unable to download JSON metadata: HTTP Error 400: Bad Request (caused by <HTTPError 400: Bad Request>) HOT 1
- ERROR: Unsupported URL: https://www.instagram.com/reels/C69PXQPPZlH/ HOT 1
- ERROR: Postprocessing: Error opening input files: Result too large
- orf.on No video formats found!
- Youtube comment Extractor Failed HOT 1
- DownloadError: ERROR: [vimeo] 942547573: Unable to download JSON metadata: HTTP Error 400: Bad Request (caused by <HTTPError 400: Bad Request>) HOT 1
- Produce json output when a live content is upcoming or offline, communicating as such HOT 9
- [ThePlatform] [CWTV] - This format is DRM protected HOT 2
- [NoodleMagazine] Unable to extract player path
- [TubiTV] Unable to download JSON metadata: HTTP Error 401: Unauthorized HOT 11
- yt-dlp do not working with drm files from WOWPRESENTSPLUS HOT 1
- How do I remux video to a different format Using the Python yt-dlp invocation? HOT 1
- BBC News fails with "Unable to extract playlist data" error HOT 5
- yt-dlp --write-subs --sub-lang "live_chat" on a Live stream is always Top Chat
- Different response to --output, in two different situations HOT 5
- 3speak broken HOT 1
- PhantomJS is unmaintained HOT 1
- X/Twitter video URLs no longer work HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from yt-dlp.