Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Having issue with module yt-dlp #2436

Closed
Sathish84489377 opened this issue Mar 21, 2022 · 3 comments
Closed

Having issue with module yt-dlp #2436

Sathish84489377 opened this issue Mar 21, 2022 · 3 comments

Comments

@Sathish84489377
Copy link

I've been downloading vidoes form Pinterest user,it showing error "module cannot import "yt-dlp"
image
then try install module using pip command
image
and then retry the command still its showing the same error.

@mikf
Copy link
Owner

mikf commented Mar 21, 2022

What's the output of pip freeze?
It looks like gallery-dl and yt-dlp are not installed in the same Python environment.

Or are you using a gallery-dl executable from the Releases page?


And even if gallery-dl could use yt-dlp, downloading videos from pinterest currently fails with "[downloader.ytdl][error] ERROR: unable to download video data: HTTP Error 403: Forbidden" due to forcing the native m3u8 downloader:

pin["_ytdl_extra"] = {"protocol": "m3u8_native"}

@Sathish84489377
Copy link
Author

yeah,I'm using gallery-dl executable from the Releases page

@mikf
Copy link
Owner

mikf commented Mar 21, 2022

Those can't use yt-dlp. They only have youtube-dl embedded and are unable to use any "external" modules.

Since you already have a Python interpreter with pip installed, you can just install and run gallery-dl with that (pip install gallery-dl), or you get an executable from https://github.com/mikf/gallery-dl/actions/workflows/executables.yml which do come with yt-dlp.

@mikf mikf closed this as completed Apr 7, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants