-
Notifications
You must be signed in to change notification settings - Fork 586
Switch to yt-dlp #388
Comments
This can be configured in your config file (see this example). |
How would I do this in replit.com? How would i even make this compatible (it throws an error when I try to run it, to run it you have to type |
It's easy for installation from Github sources. Git clone Change: That's enough to make it work. |
You can also download the yt-dlp binary separately and update the config like so:
|
here is edited by me yt-dlp version for heroku if u want |
Got it working on master with very minor changes to the Dockerfile: diff --git a/Dockerfile b/Dockerfile
index e5ac935..d2f7124 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -1,6 +1,7 @@
FROM php:7.3-apache
RUN apt-get update
-RUN apt-get install -y libicu-dev xz-utils git python libgmp-dev unzip ffmpeg
+RUN apt-get install -y libicu-dev xz-utils git python3 python3-pip libgmp-dev unzip ffmpeg
+RUN python3 -m pip install yt-dlp
RUN docker-php-ext-install mbstring
RUN docker-php-ext-install intl
RUN docker-php-ext-install gmp And these 2 entries in youtubedl: /usr/local/bin/yt-dlp
python: /usr/bin/python3 |
New Feature Request
Can you do a full switch to yt-dlp? This could make downloading much faster in general, and also while you are at it, add the flag
--compat-options no-playlist-metafiles
and (once you complete the conversion)-N 20
? That would make things a lot easier on me because then i do not have to go and add all of the metadata myself.The text was updated successfully, but these errors were encountered: