-
Notifications
You must be signed in to change notification settings - Fork 10.2k
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
itvhub download stopped working #31363
Comments
I had this problem late last night (Thursday 17/11/2022) & I was about to report this problem when I saw that you had reported it already Brian. The ITV Hub has now changed to ITVX so I'm assuming that the changes have caused this problem. As I tried downloading the News at 10 & couldn't I have only until midnight tonight to download it otherwise I can't. So, the urgency to get a fix is important to me for that reason. I'm also using the yt-dlp version which is up to date. |
I forgot to say that the command line syntax I normally use & worked on Wednesday night is:- The link has now changed to the following but as said it fails:- As you can see that it has watch & not hub in the address as well as extra set of numbers. |
@MysticMerlin some ITV programs (including ITN news) are available at https://www.stv.tv/ (the scottish version of ITV), and youtube-dl currently still supports this, so you can use that site to download some of the programmes you want to watch until a fix is found for ITV hub. |
try using the cookies.txt file when you sign in to your account |
Thanks for the suggestion but I’ve never had to sign in to download from the itvhub and I’m afraid don’t know what to do with the cookies.txt file or where to get one from. Brian |
when i tried to watch that spiderman movie, it wanted me to setup an account |
@Jonnyjon869 Thanks for your suggestion Jonny & sorry I couldn't reply & try it earlier tonight. The English news programmes aren't available to download but other programmes like Loose Women & todays Loose Men as well as This Morning & Lorraine but not Good Morning Britain are available to download & do. So, your suggestion works & will work for other programmes that are available that I can continue to download until like you said until a fix has been done. Thanks again for your time in replying to me. |
All is explained in the corresponding yt-dlp thread where @brianmassen should have looked since yt-dl wasn't being run. The original reporter there adhered to the tradition of a Monty Python allusion for a Python-based query. However, the extractor code is basically the same, so I won't close this thread with extreme prejudice. tl;dr:
The "extra numbers" are just a prefix of the entire programme ID |
@dirkf Thanks for all your hard work & the others as well. When I did a search on here for the ITV problem, I can only recall that it was Brian's issue that I came across & commented etc. I've now looked at the links you've sent & I've got the gist of it all but obviously lost with the tech as I don't have the experience or knowledge to comment/help. So, I have to rely on you guys to come up with a fix. In the meantime, most of the programmes that I want I can get on the STV site with yt-dlp still working on there. Thanks Everyone. |
That's a useful work-around, as the STV pages have a completely different structure from ITV[Hub|-X]. |
@dirkf |
As you pointed out, what may not be extracted from ITV-X may be available from STV, and this applies equally for yt-dl. For instance, this evening's World Cup highlights from ITV (patched extractor that knows about the new URL format), using
and from STV
As the log shows, STV uses Brightcove as its video platform, whereas ITV-X uses a nominally internal platform according to the yt-dlp issue linked above. If the question is about a possible yt-dl ITV-X extractor, everything that is in the yt-dlp issue applies. If some magic can arrange for playable media to be found by yt-dlp, yt-dl will try to reproduce that. |
@dirkf |
As noted here, now that ITVX has been launched officially (and without a Here's an example from the yt-dlp thread accessed from the UK:
The extractor will get updated in due course. |
Sadly, that flag (which provides an
hard-geoblock (i.e. can't be fooled by a spoofed
I thought PR #30266 (specifically c6001d5) had already addressed that 😉 ; unless your test above did not use that PR's code (why not?) ... Festive greetings 🎅 ... |
Good to know. We also need to set Although it would only affect the diagnostic, it would be interesting to know if a logged-in user can use the site from outside UK. Maybe the answers to the above ( I just patched the master code for the quoted test, but the changes will apply to the PR easily. 🎅 🎅 |
So, will we get a fix this year or next year? lol |
I have only just seen that there has been an update to yt-dlp on the 06-01-2023 & I got my hopes up but sadly it hasn't solved downloading from the ITVX site. You can still download limited programmes from the STV site but like I said that you have limited programmes. For example one of my all time favourite programmes THE PRISONER is not available from the STV site but is from ITVX so I'm not happy obviously. Will we get a fix? |
Try the PR. For those with an installation that exposes the source files, you can't just add the |
@dirkf |
You can wait for the PR to be merged and released, or ....
|
@dirkf |
|
First you need For me, running it this way causes the hlsnative extractor to delegate to ffmpeg, which is a bit annoying but still works. |
Now use the git master instead. The extractor suggests using the native HLS downloader but the M3U8 downloads from ITV require ffmpeg. yt-dl discovers this and complies. |
Yup, I didn't have pycryptodome installed... I thought I did but must have removed it at one from my python3 at one point. |
Hi Scott 😄 ; this has been detailed time and again 😉 ...
would require compiling it from source, which itself demands a working C++ compiler on your platform, compatible with the Python version used... So, your easiest avenue is to install the
Edit: As I was about to click the green |
The obvious thing for me to do was wait for a new release or then do I try & follow the above instructions which I wasn't sure what I should do. So, I tried what skovatch said & I got the following you can see in the screenshots. B.T.W. Until I looed it up I didn't know what pip was except in the fruit & from the screenshot you can see that I've updated it. |
The Since it appears you're not "comfortable" enough installing/running python apps from source 😜 , please then grab and use the Windows (32-bit) https://github.com/ytdl-patched/youtube-dl/releases/latest/download/youtube-dl.exe You don't need to have Python installed to run it; like the "official" releases, it's compiled with py3.4.4 and the NB: That build has no |
@Vangelis66 |
The link to Also, and this is important, people here are kindly asked not to abuse that "service", because it's basically a "personal" project that belongs to one of the |
@Vangelis66 |
@Vangelis66 |
Please open a new issue for https://www.itv.com/watch/classic-emmerdale/2a8015/Ya0524a3403 with a verbose log posted as text, if this persists. I can't reproduce the 403, but maybe you displeased the ITV content servers somehow. |
See #32410. |
When I try to download from itvhub now I get this response
everything was fine until today.
Im running MX-Linux and yt-dlp version
TIA
Brian
The text was updated successfully, but these errors were encountered: