Giter VIP home page Giter VIP logo

Comments (6)

Tatsh avatar Tatsh commented on August 20, 2024

Will look into this. My cookies generated by the current code have been working for a very long time.

from youtube-unofficial.

Tatsh avatar Tatsh commented on August 20, 2024

Since this code is based on youtube-dl it's possible they have updated their code or their login is broken.

from youtube-unofficial.

tym-project avatar tym-project commented on August 20, 2024

I'm running the latest version of youtube-dl, I was not able to log-in either, I'm having an issue similar to this one . It might be linked to TFA... I'm not sure. As a workaround I did what is suggested in the thread : use an extension to download my cookies as a cookies.txt file then moved it to the proper location on my system... so far so good, your script works like a charm !
I'm not too familiar with proper Python development, but if I can do anything to help debug, please ask :)

from youtube-unofficial.

Tatsh avatar Tatsh commented on August 20, 2024

The login code has changed considerably. If you can port the current code over and make it work that would be helpful. Since I store cookies in my login() method and have a TFA callback argument, I cannot really call their code directly.

https://github.com/rg3/youtube-dl/blob/ddbb4c5c3ea7a64e09834d9628e7e34e03675289/youtube_dl/extractor/youtube.py#L78

from youtube-unofficial.

Tatsh avatar Tatsh commented on August 20, 2024

I have fixed this. Committing now.

from youtube-unofficial.

tym-project avatar tym-project commented on August 20, 2024

Thank you, I'll take a look as soon as I can.

from youtube-unofficial.

Related Issues (16)

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.