Ian Manning
Member
Aaaahhh...thank you!Have you set "show advanced packages"?
Aaaahhh...thank you!Have you set "show advanced packages"?
Are there any up-to-date instructions for how to install the youtube-dl package? It's not listed in the "Available" list in the web IF, and the instructions from Github give this error:
Code:humax# wget https://yt-dl.org/downloads/latest/youtube-dl -O /usr/local/bin/youtube-dl wget: not an http or ftp url: https://yt-dl.org/downloads/latest/youtube-dl
/mod/bin/wget
). The Busybox wget (/bin/wget
) in the firmware image doesn't handle HTTPS. Because of the way the download site is configured, http://yt-dl.org/downloads/latest/youtube-dl redirects to the same secure link and fails in the same way.Thanks - I managed to find it in the "Available" list of the web IF after following Black Hole's advice and turning on the "Advanced" optionThis should work if the wget package is installed (ie using/mod/bin/wget
). The Busybox wget (/bin/wget
) in the firmware image doesn't handle HTTPS. Because of the way the download site is configured, http://yt-dl.org/downloads/latest/youtube-dl redirects to the same secure link and fails in the same way.
But it won't work properly even if it could be downloaded because some of the files are patched in the repository package.This should work if the wget package is installed
-f ...
/--format ...
: review Format Selection in the manual.It's been on my mind, as I do read the update logs, even if I don't understand most of it.Incidentally, @prpr, breaking YT changes mean that a new patch release of the package here would be good, and would also test that I haven't broken anything for the ancient Python that it has to use.
--cache-dir DIR
Location in the filesystem where youtube-dl can store some down‐
loaded information permanently. By default
$XDG_CACHE_HOME/youtube-dl or ~/.cache/youtube-dl . ...
~
is RO, export XDG_CACHE_HOME=/mod/var/cache
?humax# youtube -v https://www.youtube.com/watch?v=fBKScHaUo2I
[debug] System config: [u'--restrict-filenames', u'--prefer-ffmpeg', u'-f', u'best[height<=?1080][fps<=?60]', u'-o', u'/mnt/hd2
/My Video/%(title)s.%(ext)s']
[debug] User config: []
[debug] Custom config: []
[debug] Command-line args: [u'--external-downloader', u'wget', u'--hls-prefer-native', u'--cache-dir', u'/mod/.cache/youtube-dl
', u'-v', u'https://www.youtube.com/watch?v=fBKScHaUo2I']
[debug] Encodings: locale ASCII, fs ASCII, out ASCII, pref ASCII
[debug] youtube-dl version 2023.07.05
[debug] Python 2.7.1 (CPython 7405b0-smp 32bit) - Linux-2.6.18-7.1-7405b0-smp-with-libc0 - OpenSSL 1.0.0a 1 Jun 2010 - libc 0
[debug] exe versions: ffmpeg 4.1, ffprobe 4.1
[debug] Proxy map: {}
[youtube] fBKScHaUo2I: Downloading webpage
[youtube] fBKScHaUo2I: Downloading player 1dda5629
[debug] [youtube] Decrypted nsig zROm0vk_ydYgrqth => bpxFOUJz11WpOQ
[debug] [youtube] Decrypted nsig 4sEOfLHP--BeSaCl => lEBErbvWHoGzEw
...
...
[youtube] fBKScHaUo2I: Downloading webpage
[debug] [youtube] Decrypted nsig f25UQ6FZ0gf92pT6 => zjMAI9TXpmVWTw
[debug] [youtube] Decrypted nsig _XY4FVhtLoWv5Ahz => 7syLntHcV-40sw
...
Better than identifying as a cat I suppose, but still sounds terribly woke.yt-dl could identify as an Android app