-
Notifications
You must be signed in to change notification settings - Fork 26
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
Unable to download ITV programme Viewpoint #331
Comments
Well, that's strange. I tried it again a couple of times and now it works. I've noticed this before with iTV downloads - would it be possible to introduce a number of tries like happens with BBC programmes, so that it fails a bit more gracefully? |
Hi, |
all itv now failing on PVR and Use Current Webpage |
Looks like a change on ITV's end has broken youtube-dl. It fails on the command line too. |
It's already been reported as ytdl-org/youtube-dl#28906 |
ITV have appeared to have gone DRM protection. Not sure if this means the end to be able to download via this brilliant application? |
It seems like it’s a bit random because after a few tries I was able to download the programme. It would be great if GiA could try the download a few times like it seems to do with BBC shows, rather than falling after this error 😊 |
@jefro108 are you able to download Viewpoint Episode 3? I have tried and tired but get the same error. Using Downie, the error comes up that the video is DRM protected. |
Automatic retry is a feature of get_iplayer, not GiA. I'm not convinced it's DRM - Downie could be assuming that because of the 500 error. Some shows do indeed still work, but there's no pattern as to what will or won't work. |
Fingers crossed you guys can find a fix. The app is superb and a life line for many. :) |
Granted I'm a Windows user, not a Mac user but at least with Youtube-dl you can continue by using the STV Player (which is ITV in Scotland). However because it's only the Channel 3 contractor, this would not work for ITV2, 3, 4 or CITV programmes. |
Agreeing with what one or two others have said. Downie may well be reporting DRM as the server error is preventing access to the HLS versions which are what GiA and yt-dl use. I believe some streams do use DRM so there is a possibility that these are all that is being presented to Downie because of the errors. |
I was able to download Episode 2 but I've had similar problems downloading Episode 3 According to ytdl-org/youtube-dl#28906 it works to get it on STV player with youtube-dl - so I got it from https://player.stv.tv/episode/435y/viewpoint Not only does it work but it's much higher resolution at 1080p! @skovatch is there any possibility of adding STV player support to GiA to automate this? |
Episodes 1 and 2 downloaded completely though they needed several manual retry's before the dl's were complete. Episodes 3 and 4 have been impossible and fail at the first hurdle. Logged: ERROR: Unable to download JSON metadata: HTTP Error 500: Internal Server Error (caused by HTTPError()); please report this issue on https://yt-dl.org/bug . Make sure you are using the latest version; type youtube-dl -U to update. Be sure to call youtube-dl with the --verbose flag and include its complete output. |
Can't even seem to grab episode 4 from STV |
@torbs723 I've been able to get 3 and 4 from STV although failing on ITV. 1&2 came from ITV just fine. Haven't yet tried 5 (slow internet connection....) |
@lowenna Realised I had dropped back to a 2020 build of yt-dl. Up to date version downloads 3, 4 and 5 fine from STV. And much better quality too! |
@torbs723 yes, indeed - much better quality! That all said, I was fine with ITV quality, and had automation around it, so the STV route isn't appealing right now. Would love to figure out what's going with ITV |
I've not been able to download episodes 3, 4 or 5 with log only showing : Downloading Viewpoint: Series 1 Downloading Show 2/3: Downloading Viewpoint: Series 1 Downloading Show 3/3: Downloading Viewpoint: Series 1 Also noticed that the show is only available for 1 day and the latest news that Episode 6 will not be broadcast due to lead actor Noel Clarke allegations. Perhaps ITV has implemented actions to limit access?! |
Just run again with verbose mode for log and getting the following: Downloading Show 1/3: Downloading Viewpoint: Series 1 |
Yes due to the allegation the series is only available until Sunday. They have severely shortened the availability window. The "500 Internal Server Error" you are seeing though is unrelated to this but is making it almost impossible to download new content from ITV
From ITV Hub you will not get them to download. You need to grab them from the STV site. |
I have posted an analysis of mine wrt to this new blockade by ITVHub people in the referenced ... I think it isn't yet another "coincidence", but I did observe, over the course of many years now, that always new draconian changes are being implemented in ITVHub (that break downloading 😞 ) just a short period prior to the Brit Awards shows being broadcast on ITV1/ITV2 (this year on May 11th); has been the case even since the era they used RTMPE streams 😠 ... Kindest regards, stay safe 😄 |
@Vangelis66 thank you once again for your excellent analysis of the situation. I read your comments in the yt-dl issue, and I think you've given them enough information to figure out how to react what's changed on ITV's end. I think I've mentioned it elsewhere, but there's nothing else GiA can do here except wait for a fix and incorporate it in a future release. I'm monitoring that bug now and will update when there's something actionable for me. |
Been trying to submit a report on a failure detected attempting to download from itv with GiA, however, my issue was closed because it appeared to be a duplicate. Can't seem to find the duplicate issue so I guess I'm relegated to adding to this issue post. My download attempts are met with the message "youtube-dl download finished" and the request fails. Below is the log file I was able to generate. Yesterday I could simply restart the download and it would continue, but today my attempts to restart have resulted in failure. |
Use yt-dlp version 2021.12.01 or later |
Is that the one that decided my message was off topic?
They do like that "geo-restricted" label. And apparently I must NEVER question its use again... |
FWIW, I think @Vangelis66 pointed out that the geo-restricted label could mean you need to be in the UK or have VPN to work on it or verify any patches. There are all kinds of video providers they support that are geo-restricted -- trying to find a VPN for every possible provider is a slippery slope and I don't blame them for not wanting to bother. @sleaux-meaux I appreciate you building a forked version for folks to use but I would strongly prefer to wait for an 'official' release before I include it in GiA. I can give it a try just to see how well it integrates, though. |
I've downloaded the compiled version by @sleaux-meaux and replaced it inside GiA by using Show Package Contents in Finder and GiA now downloads the itv hub programmes that wouldn't download previously! Great 😆 |
@sleaux-meaux Is there any chance of a windows .exe version while we wait for youtube-dl to approve the patch and release it? |
Or a step by step explanation of how to do this, Jefro? |
@torbs723 asked:
Yes...
😄
More slippery in the case of ITV 😠 ; being overseas, I can confirm they're being relentless at blacklisting (commercial) UK IPs, probably via a mechanism similar to EPD:
So I can empathise with the two https://github.com/ytdl-org/youtube-dl#how-can-i-speed-up-work-on-my-issue they state:
@skovatch wrote:
Ditto 👍
Yes, that is the "correct" thing to do... but let's get a "reality check", if you will 😉 :
Merging this in the official way can take some time; after all, ITV.py is just one of many InfoExtractors inside FTR, this latest ITV breakage comes as a direct result of them moving head-on towards full-blown DRM on all their streams; I had warned about this as recently as January 13th of this year, in another exchange of mine with @torbs723:
So I'm currently enjoying it while it lasts... 😉 |
@cgareth if you follow the instructions from @sleaux-meaux in the quote and open the GiA application contents using Show Package Contents and put the download into /Applications/Get iPlayer Automator.app/Contents/Resources (after running the chmod command using Terminal app) So: download https://github.com/sleaux-meaux/youtube-dl-gia/releases/download/2021.04.26-gia_01/youtube-dl to your Downloads folder Then:
Then copy and paste the youtube-dl using Finder inside the GiA app (using Show Package Contents) to the Resources folder (renaming the original to youtube-dl.bak just to be safe) |
@torbs723 wrote:
I guess discussing Windows specifically in this tracker is probably OT... I know how-to myself and have compiled a 32-bit .exe (Python 3.7.10 based) for my personal local use, but I think I would be frowned upon if I started distributing "here and there" compiled Windows executables... 🙄 Apologies for the OT... |
Indeed I did have a read thank you Vangelis. Was hoping I wasn't going to have to learn to do a new thing though 😄
Now if I'm wanting to run the compiled .exe on a 32-bit system, does it need to be created with a 32-bit install of Python? I've managed to compiled it on a 64-bit system that I installed 64-bit Python on, and I've moved my new .exe over to a 32-bit machine and it says it isn't compatible. Does that mean I've ended up compiling a 64-bit version of youtube-dl? Is there a switch I can use in the code to tell it to make it 32-bit or do I need to install a 32-bit version of Python and use that to create the .exe instead? |
Not wanting to further pollute this tracker with Windows-exclusive info, kindly read my reply to you over at the original |
@torbs723 would you mind sharing that 64-bit exe? It can be uploaded directly to my FF account here https://pastebin.com/RE32aQrK Only I will have access to it and I won't share it with anyone else, unless it's ok then I'd be happy to make a link available. BTW a search suggests you need 32-bit Python to create a 32-bit compatible exe. |
@Rencroft I've realised that there's no crypto support in my original x64 and x86 versions, so downloading relies on ffmpeg. I've fixed this with my x86 now and will try to re-compile the x64 later. |
Thanks sleaux-meaux! Did that fix and can get my ITV shows again. Much appreciated. Peter |
@torbs723 thanks really appreciate it. Going to take me ages to figure it out but won't miss any shows now before they expire. Your a hero. |
Thanks @sleaux-meaux for the update. Is it expected to get the message when I try and download directly with youtube-dl |
sleaux-meaux, great work on the youtube-dl. I did the replacement and the downloads from itv worked superbly. Thanks! |
Thanks for the info. I installed PyCryptodome with the command |
Fixed, for the time being, in 1.21.10. |
Does anyone have the problem where the cache take forever to update BBC shows? Any way to fix it? I also have a problem with "use current webpage" in some versions even though I am using the correct browser as per my preferences and the page is at the front and on the show. Thanks. Peter |
Please open a new issue with steps to reproduce and information about your system -- application version, os version -- and a verbose log showing what happens when the problem occurs. |
Using GiA 1.21.9 on macOS Mojave 10.14.6
I'm unable to download Viewpoint episode 1 https://www.itv.com/hub/viewpoint/10a0556a0001. I can watch it on the webpage though.
See error log at
ViewpointErrorLog.txt
The text was updated successfully, but these errors were encountered: