Giter Site home page Giter Site logo

Comments (14)

bytedream avatar bytedream commented on July 19, 2024 1

I'm looking into it @bashonly was faster than me^^

from yt-dlp.

fe80Grau avatar fe80Grau commented on July 19, 2024 1

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.

pukkandan avatar pukkandan commented on July 19, 2024

#7442

from yt-dlp.

gamer191 avatar gamer191 commented on July 19, 2024

This seems to be a new issue unrelated to #7442 :(

from yt-dlp.

rdamas avatar rdamas commented on July 19, 2024

Probably related: crunchy-labs/crunchy-cli#382

from yt-dlp.

NSExceptional avatar NSExceptional commented on July 19, 2024

Looks like they said they fixed it in that last comment @rdamas?

from yt-dlp.

rdamas avatar rdamas commented on July 19, 2024

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.

NSExceptional avatar NSExceptional commented on July 19, 2024

Is the fix just using those new tokens? That's it? o_O

from yt-dlp.

fe80Grau avatar fe80Grau commented on July 19, 2024

@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.

fe80Grau avatar fe80Grau commented on July 19, 2024

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.

bashonly avatar bashonly commented on July 19, 2024

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.

smile-2023 avatar smile-2023 commented on July 19, 2024

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.

fe80Grau avatar fe80Grau commented on July 19, 2024

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.

bashonly avatar bashonly commented on July 19, 2024

Was that with free content? --cookies-from-browser alone shouldn't work for premium content anymore

from yt-dlp.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.