• The forum software that supports hummy.tv has been upgraded to XenForo 2.3!

    Please bear with us as we continue to tweak things, and feel free to post any questions, issues or suggestions in the upgrade thread.

[youtube-dl] Download files from youtube.com or other video platforms

A further small step in the arms race leads to the latest GH version that will (elves permitting) appear as the 2025-02-08 nightly release.
 
Last edited:
Presumably you mean 1.1.1w as we are already on 1.1.1d?
I'll start another thread about that in due course.
I've now officially given up trying to build Openssl (even 1.1.1d). Just segfaults in the library immediately. I can no longer be bothered.
 
I can get them both (1.1.1d and 1.1.1w) to build, without error, but neither of one of the libraries works (I forget whether libssl or libcrypto). The new app. in bin/ works with the existing libraries but that's not entirely useful.
 
Last edited:
It's quite an extensive update, so it needs a new package version. You could upgrade to the 2025.04.01 code, which should still work, by applying this 1-line change.
 
Hi All,

I'm having problems with youtube-dl version 2025.07.01 (I believe that's the latest?) for this URL:
Code:
https://www.youtube.com/watch?v=sbgHMrLPQrE
(The Making of Tron 1982 Full Documentary)

Can anyone else confirm they too have the same problem? I've also tried the option -f "18" to force it to what I think is available (360p) but still get the same issue.
Code:
01:53:14 - --------------------------------------------------------------
01:53:14 - Starting immediate download of https://www.youtube.com/watch?v=sbgHMrLPQrE Options -v
01:53:14 - Be VERY patient - it can take a couple of minutes for download to start!
01:53:14 - youtube --newline -v https://www.youtube.com/watch?v=sbgHMrLPQrE
01:53:14 - {*}youtube --newline -v https://www.youtube.com/watch?v=sbgHMrLPQrE
[debug] System config: [u'--restrict-filenames', u'--prefer-ffmpeg', u'-f', u'(bestvideo+bestaudio/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-ffmpeg', u'--cache-dir', u'/mod/.cache/youtube-dl', u'--newline', u'-v', u'https://www.youtube.com/watch?v=sbgHMrLPQrE']
[debug] Encodings: locale ASCII, fs ASCII, out None, pref ASCII
[debug] youtube-dl version 2025.07.01
[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: {}
01:55:15 - [youtube] sbgHMrLPQrE: Downloading webpage
01:55:22 - [youtube] sbgHMrLPQrE: Downloading TVHTML5 API JSON
01:55:23 - [youtube] sbgHMrLPQrE: Downloading player c6d7bdc9-main
WARNING: [youtube] Falling back to generic n function search
ERROR: Unable to extract nsig function code (caused by RegexNotFoundError(u'Unable to extract Initial JS player n function name; please report this issue on https://github.com/ytdl-org/youtube-dl/issues , using the appropriate issue template. Make sure you are using the latest version; see  https://github.com/ytdl-org/youtube-dl/#user-content-installation  on how to update. Be sure to call youtube-dl with the --verbose option and include the complete output.',)); please report this issue on https://github.com/ytdl-org/youtube-dl/issues , using the appropriate issue template. Make sure you are using the latest version; see  https://github.com/ytdl-org/youtube-dl/#user-content-installation  on how to update. Be sure to call youtube-dl with the --verbose option and include the complete output.
Traceback (most recent call last):
  File "/mod/lib/python2.7/dist-packages/youtube-dl/youtube_dl/extractor/youtube.py", line 1856, in _decrypt_nsig
    jsi, player_id, func_code = self._extract_n_function_code(video_id, player_url)
  File "/mod/lib/python2.7/dist-packages/youtube-dl/youtube_dl/extractor/youtube.py", line 1968, in _extract_n_function_code
    return self._extract_n_function_code_jsi(video_id, jsi, player_id, player_url)
  File "/mod/lib/python2.7/dist-packages/youtube-dl/youtube_dl/extractor/youtube.py", line 1971, in _extract_n_function_code_jsi
    func_name = self._extract_n_function_name(jsi.code)
  File "/mod/lib/python2.7/dist-packages/youtube-dl/youtube_dl/extractor/youtube.py", line 1948, in _extract_n_function_name
    return generic_n_function_search()
  File "/mod/lib/python2.7/dist-packages/youtube-dl/youtube_dl/extractor/youtube.py", line 1892, in generic_n_function_search
    default=None if func_name else NO_DEFAULT)
  File "/mod/lib/python2.7/dist-packages/youtube-dl/youtube_dl/extractor/common.py", line 1093, in _search_regex
    raise RegexNotFoundError('Unable to extract %s' % _name)
RegexNotFoundError: Unable to extract Initial JS player n function name; please report this issue on https://github.com/ytdl-org/youtube-dl/issues , using the appropriate issue template. Make sure you are using the latest version; see  https://github.com/ytdl-org/youtube-dl/#user-content-installation  on how to update. Be sure to call youtube-dl with the --verbose option and include the complete output.
Traceback (most recent call last):
  File "/mod/lib/python2.7/dist-packages/youtube-dl/youtube_dl/YoutubeDL.py", line 882, in wrapper
    return func(self, *args, **kwargs)
  File "/mod/lib/python2.7/dist-packages/youtube-dl/youtube_dl/YoutubeDL.py", line 978, in __extract_info
    ie_result = ie.extract(url)
  File "/mod/lib/python2.7/dist-packages/youtube-dl/youtube_dl/extractor/common.py", line 573, in extract
    ie_result = self._real_extract(url)
  File "/mod/lib/python2.7/dist-packages/youtube-dl/youtube_dl/extractor/youtube.py", line 2480, in _real_extract
    self._unthrottle_format_urls(video_id, player_url, dct)
  File "/mod/lib/python2.7/dist-packages/youtube-dl/youtube_dl/extractor/youtube.py", line 2006, in _unthrottle_format_urls
    n_response = decrypt_nsig(n_param)(n_param, video_id, player_url)
  File "/mod/lib/python2.7/dist-packages/youtube-dl/youtube_dl/extractor/youtube.py", line 1833, in inner
    raise ret
ExtractorError: Unable to extract nsig function code (caused by RegexNotFoundError(u'Unable to extract Initial JS player n function name; please report this issue on https://github.com/ytdl-org/youtube-dl/issues , using the appropriate issue template. Make sure you are using the latest version; see  https://github.com/ytdl-org/youtube-dl/#user-content-installation  on how to update. Be sure to call youtube-dl with the --verbose option and include the complete output.',)); please report this issue on https://github.com/ytdl-org/youtube-dl/issues , using the appropriate issue template. Make sure you are using the latest version; see  https://github.com/ytdl-org/youtube-dl/#user-content-installation  on how to update. Be sure to call youtube-dl with the --verbose option and include the complete output.

01:55:52 - Caught error:


my config file is the standard I believe:

Code:
--restrict-filenames
--prefer-ffmpeg
-f "(bestvideo+bestaudio/best)[height<=?1080][fps<=?60]"
-o "/mnt/hd2/My Video/%(title)s.%(ext)s"
 
I'm having problems with youtube-dl version 2025.07.01...

Try it with another download to confirm the problem is not the specific to the item you are currently trying, but I expect this is just another escalation of the arms race (YouTube putting up another barrier, YTDL devising and releasing another version to overcome it).

It would not surprise me if (one day) the next build can't run on our HDR-FOXes. You might benefit from switching to a PC build now – they are revised more quickly.
 
Even on a PC the arms race (for YouTube videos) is a pain. Sometimes only format 18 is available for download - and that fails. You need to update almost daily. Obviously something you can't do on the HDR-FOX.
 
The easiest way is to play whatever it is and screen-grab it!
It might work with YouTube, but I end up with black screen on some other sites (eg. ITVX- yes, I do know yt-dlp/yt-dl can't get that either, unless also on stv player without DRM). After researching on t'web I find purported solutions for screen-grab don't work for me on Win11.
 
When all else fails, you have to resort to the "optical standards converter". Point a camera at a monitor and record that. Yes, it's cr@p, but we used to use it occasionally back in the day.
 
It might work with YouTube, but I end up with black screen on some other sites (eg. ITVX- yes, I do know yt-dlp/yt-dl can't get that either, unless also on stv player without DRM). After researching on t'web I find purported solutions for screen-grab don't work for me on Win11.
I just tried on an ITVX movie using Screen recorder extension for Opera and windows 11 and it records the pic perfectly but without the audio though that may be possible with tweaking as I have not looked into it fully.
 
Back
Top