Giter Site home page Giter Site logo

Comments (11)

lalenguanegra avatar lalenguanegra commented on July 20, 2024 5

To resolve the issue, use the --cookies-from-browser flag with yt-dlp. Execute the following command:

yt-dlp "VIDEO_ID" --cookies-from-browser brave

This will allow the video to download without encountering any 401 errors.

image

from yt-dlp.

Gnoflet avatar Gnoflet commented on July 20, 2024 1

I'm having the same issue. I was told in the discord it was due to a site change.

from yt-dlp.

lalenguanegra avatar lalenguanegra commented on July 20, 2024 1

@lalenguanegra do you need to be logged into the site? or do you just need to have browsed it recently without logging in?

To clarify, logging in is not necessary. You just need to have browsed it recently without being logged in.

from yt-dlp.

MariposaJim avatar MariposaJim commented on July 20, 2024 1

from yt-dlp.

bashonly avatar bashonly commented on July 20, 2024 1

The failing API request specifically needs the at cookie (auth token)

from yt-dlp.

waqaskaloi avatar waqaskaloi commented on July 20, 2024

from yt-dlp.

bashonly avatar bashonly commented on July 20, 2024

@lalenguanegra do you need to be logged into the site? or do you just need to have browsed it recently without logging in?

from yt-dlp.

stanclamm avatar stanclamm commented on July 20, 2024

this solution doesn't work for me. i tried:

B:\youtube-dl>yt-dlp "https://tubitv.com/movies/563229/ember-days" --cookies-from-browser firefox
[TubiTv] Extracting URL: https://tubitv.com/movies/563229/ember-days
[TubiTv] 563229: Downloading JSON metadata
Extracting cookies from firefox
Extracted 0 cookies from firefox
ERROR: [TubiTv] 563229: Unable to download JSON metadata: HTTP Error 401: Unauthorized (caused by <HTTPError 401: Unauthorized>)

i have enabled cookies for https://tubitv.com and have visited the site and started streaming a video. i don't know how to get the cookies that are necessary to download. i also tried the same procedure with chrome. no luck.

from yt-dlp.

bashonly avatar bashonly commented on July 20, 2024

Try yt-dlp nightly with chrome. Could possibly be session cookies, which aren't extracted with yt-dlp stable or from firefox

from yt-dlp.

stanclamm avatar stanclamm commented on July 20, 2024

updated to [email protected]. i tried chrome and firefox again. same 401 output. i usually have my browsers set to strict privacy, no tracking/cookies, etc and had to add exceptions for tubitv. do you think it would work if i installed another browser, didn't enable privacy settings on it, then visited tubitv for cookies? thank you.

from yt-dlp.

stanclamm avatar stanclamm commented on July 20, 2024

i got it to work. i installed yt-dlp-ChromeCookieUnlock plugin and away she goes.
thank you for your help. i love tubitv's terrible movies so much.

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.