-
-
Notifications
You must be signed in to change notification settings - Fork 1k
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
Ability to use youtube-dl forks #1330
Comments
How so? |
EDIT: Fixed a couple brain farts. If all else fails, you can create a symlink inside the folder where the youtube-dl binary's expected:
NIX (Linux, Mac, ...):
|
gallery-dl uses the Python package, not the executable, but you can still do the same thing and create a |
Wait.. but I don't even have Python installed on this system. Is there really a difference between an executable with an entry inside path and a Python package? I thought it's the same thing. Like you call it the same way ( |
|
It is only possible to I guess you can't make use of this feature then, unless you built the executable with yt-dlp instead of youtube-dl inside, but you'd need to install a Python interpreter to do that and then you might as well use gallery-dl, youtube-dl, etc directly as Python modules themselves. |
I do have conda installed which comes with pip if that makes any difference, but I still prefer self-contained executables to packages and dependencies on Windows. So then does the gallery-dl exe come with an embedded youtube-dl? If so, that wasn't very clear to me from the README. Does it also have an embedded ffmpeg? Seeing how the README lists both under "Optional", I assumed that if I had them in path (which I do), whatever functionality depends on them will be activated and working. |
Following up. I'm just not sure how to verify both youtube-dl and ffmpeg are being utilized by gallery-dl. Never used Python for anything other than programming. I have Conda directly on Windows and Python 3 on WSL (which I almost never use). |
gallery-dl uses ffmpeg the same way youtube-dl does, i.e. you need to have
For youtube-dl, the Python interpreter running gallery-dl needs to be able to import
|
Thanks for bearing with me and giving such a thorough explanation! I did end up switching to python packages for both gallery-dl and yt-dlp. I thought it would be problematic given I use conda and didn't want more than one python interpreter in the system, but it turns out it's a non-issue. What I ended up doing (in case anyone is in a similar situation):
If you do not care about minimizing the number of non-conda packages then 1st line could be just Then set |
Kinda like what they're doing at mpv: mpv-player/mpv#8207
For example, youtube-dlp lets you embed thumbnails and has a more robust video quality selection, so I'm thinking of moving to it.
Unfortunately, the executable is
youtube-dlc.exe
, so other tools like gallery-dl (or mpv) won't be able to see it in path.The text was updated successfully, but these errors were encountered: