Has it ever worked on ITV Hub?
No. I never bothered with 2021.06.06 as it didn't seem to change anything useful, and development now appears to be stalled.Is there a later version of YouTube-dl available (beyond 2021.04.26)?
At least give us a URL to test...I am not getting anything to work from ITVHub. In particular Vera and Professor T
At least give us a URL to test...
The problem of a 'broken' ITV Hub was logged on the support pages of GitHub back in April.Is there a later version of YouTube-dl available (beyond 2021.04.26)?
I also have the same problem, could alanofcleeves please up the command line they used in Windows as it's still failing for me and it may identify a necessary change I have not noticed, thanks.The problem of a 'broken' ITV Hub was logged on the support pages of GitHub back in April.
One of their gurus managed to create a fixed version as a temporary measure - hopefully the changes will make it into new releases.
I can confirm that the Windows version does restore ITV Hub download to a PC. I haven't tried to change the version on my HDRs.
I have used it a fair amount and not found any issue (I think the -U update command is disabled).
After some digging here is a link to the fixed versions: https://github.com/sleaux-meaux/youtube-dl/releases/tag/2021.04.26-gia_06
I assume that you, like me, already have youtube-dl installed on your Windows PC.could alanofcleeves please up the command line they used in Windows
The python package is built against an ancient version of OpenSSL, which doesn't support the versions of SSL/TLS that sites typically require. Also there are some HLS features not supported by the yt-dl downloader, so ffmpeg is often needed anyway. Unrelated, but the Python is 2.7.1 ('tired and shagged out after a long squawk') and it would be good to build 2.7.18 which is the final Py2....
We have to use ffmpeg for this, due to some deficiency in something relating to Python (I think, but can't remember exactly - @/df will know), so I guess we're out of luck.
...
wget
only supports HTTP/S downloads, so ffmpeg
is the only useful option there.--external_downloader_args '-v 16'
(or possibly 8 instead of 16).Been meaning to mention it.Although no-one has yet complained about it here, downloads from YouTube have begun to be throttled to ~50kB/s. This comment links to a drop-in fix for the YT extractor.
This being a thread about the youtube-dl CF package, my comment was intended for the package running on the Humax HD/R Fox T2 STB. However the extractor file is equally valid for other yt-dl installations, though potentially tricky to patch into a Windows version.Been meaning to mention it.
I was using it via the Youtube-DLG GUI on a PC and found that the YT-DLP fork is, at least for the time being, unaffected*.
...
--compat...
options that you can set in its configuration file to make its command-line syntax match the original yt-dl so that it can drop into applications like mpv and possibly Youtube-DLG. The throttling issue is fixed (in two different ways) in the mainline yt-dlp version, but it's incompatible with the CF environment, whereas the fix for yt-dl itself awaits the return of the delinquent maintainers.Seems to work for me. 16 is more than enough as it takes all the progress reporting away too. Haven't tried 24 yet. Oh, and it's '-', not '_' in that external parameter!I may have patched the ITV extractor:more research neededthis commit, in fact.
The complaints about invalid timestamps should disappear with--external_downloader_args '-v 16'
(or possibly 8 instead of 16).
That works too. I've patched these into a 2021.06.06a for release shortly, if you're in agreement?This comment links to a drop-in fix for the YT extractor.
WARNING: Unable to download subtitle for "en": Unable to download webpage: <urlopen error [Errno 1] _ssl.c:499: error:140770FC:SSL routines:SSL23_GET_SERVER_HELLO:unknown protocol> (caused by URLError(SSLError(1, '_ssl.c:499: error:140770FC:SSL routines:SSL23_GET_SERVER_HELLO:unknown protocol'),))
--prefer-ffmpeg
or --external-downloader
apply, so allowing the TLS-1.2-challenged Python 2.7.1/OpenSSL 0.0.9 (IIRC) stack to be bypassed.fakehttp.py
from here and put it in the yt-dl extractor directory with extractor/itv.py
. Edit the latter by adding the import line from the linked post before line 22 (class ITVIE(InfoExtractor):
). Profit?