Giter Club home page Giter Club logo

Comments (12)

jely2002 avatar jely2002 commented on August 15, 2024 3

Great idea installing ytdl via pip, sadly my application is currently hardcoded to always use its own binary. So installing it through pip will have no effect.

I have uncovered another possible reason why it is still not working. YouTube could be ratelimiting your ip and or user agent combination, this can happen when you download quite a lot of videos in short succession. I have had it happen to myself too when I was busy developing 2.0.0. In 2.0.0 the right error gets displayed, but in the current version it shows the generic error "This video is private, add a cookies.txt file to download private video's." If you happen to have access to a VPN, try using a different IP and it should work again.

Hope I helped some more!

(About v2, I'm finishing the version up for release. All i gotta do is write some more unit tests and it can be released)

from youtube-dl-gui.

jely2002 avatar jely2002 commented on August 15, 2024 3

Just adding a little update to this issue. I have found out that on various ubuntu based distributions youtube-dl will not work out of the box, because youtube-dl uses the python command. And this command does not work.

Thus showing the "This video is private, add a cookies.txt file to download private video's." error in version 1.8.7. In version 2.0 it shows an unhandled error with the message "YouTube-dl returned an empty object".

On win10 the same errors occur when the Microsoft Visual C++ 2010 Redistributable Package is not installed on the system.
Installing this redistributable may solve the issue @kazerniel is facing.

A temporary workaround for linux can be achieved by installing the python-is-python3 package which makes the python command do the same as the python3 command.

For more info check this askubuntu question.

I will be looking for a permanent fix for this issue. Reopening it for now.

from youtube-dl-gui.

jely2002 avatar jely2002 commented on August 15, 2024 1

Hi mennaruuk,

I tried reproducing the issue on my side. However everything was working fine here.
The app shows "This video is private, add a cookies.txt file to download private video's." when ytdl returns an invalid response. Usually this happens when the video is private, it may also happen when something is wrong with youtube servers, your own connection or when the youtube-dl binary is not up to date. If you have disabled the binary auto-update enabling it may solve the issue. Otherwise I believe the issue will resolve itself.

Please let me know if the issue persists.

from youtube-dl-gui.

Mennaruuk avatar Mennaruuk commented on August 15, 2024 1

Thanks, dude! This is amazing. I can't wait to download and use V2. This will be a huge milestone for yt-dl-gui!

from youtube-dl-gui.

kazerniel avatar kazerniel commented on August 15, 2024 1

Sorry, forgot to follow up on this, tried 2.0 for audio download just now, and it works like a charm! Thanks for putting together this great UI :)

from youtube-dl-gui.

jely2002 avatar jely2002 commented on August 15, 2024 1

Great to hear it is now working! I have added a little detection system so on linux it will look for a python install and use the one available. This means it will use the python3 or python2 command when the python command does not work. This feature will roll out in v2.1.0

Closing this for now.

from youtube-dl-gui.

Mennaruuk avatar Mennaruuk commented on August 15, 2024 1

New link:
https://download.microsoft.com/download/1/6/5/165255E7-1014-4D0A-B094-B6A430A6BFFC/vcredist_x86.exe

from youtube-dl-gui.

Mennaruuk avatar Mennaruuk commented on August 15, 2024

To be honest, I played around with Ubuntu 20.04 and reinstalled it. Even afterwards, after installing youtube-dl via pip3, and disabling binary auto-update, the same error pops up. However, I was able to thankfully get it working on Fedora 33.

from youtube-dl-gui.

kazerniel avatar kazerniel commented on August 15, 2024

I have the same error message on public videos on Win10. I have auto update enabled. (I tried only 2 videos, so I don't think it's the rate limiter.)

from youtube-dl-gui.

kazerniel avatar kazerniel commented on August 15, 2024

On win10 the same errors occur when the Microsoft Visual C++ 2010 Redistributable Package is not installed on the system.
Installing this redistributable may solve the issue @kazerniel is facing.

I tried installing it, but it says "A newer version of Microsoft Visual C++ 2010 Redistributable has been detected on the machine.
"

from youtube-dl-gui.

jely2002 avatar jely2002 commented on August 15, 2024

On win10 the same errors occur when the Microsoft Visual C++ 2010 Redistributable Package is not installed on the system.
Installing this redistributable may solve the issue @kazerniel is facing.

I tried installing it, but it says "A newer version of Microsoft Visual C++ 2010 Redistributable has been detected on the machine.
"

That means you already had that redistributable installed. So that was not causing the issue. Are you still having the issue with v2.0? If so, the only thing I can think of is antivirus software maybe messing with the app.

from youtube-dl-gui.

xxtensazenxx avatar xxtensazenxx commented on August 15, 2024

Sorry to re-open but it appears Microsoft Visual C++ 2010 Redistributable is no longer available for download and was taken off Microsoft's website (maybe due to depreciation?) does anyone have a possible link to it? I've been looking around reddit, etc

ss+(2021-04-25+at+01 03 17)

from youtube-dl-gui.

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.