ITV hub has changed to ITVx, and all the download guides I found don't seem to work on this new version. Can you please tell me if there is a way to download from the new ITVx? thanks.
+ Reply to Thread
Results 1 to 30 of 302
-
Last edited by adrian44; 19th Nov 2022 at 03:35.
-
I have just tested the video on the homepage and It's classic widevine.
No need particular script to get the key...
Give us a link -
There you go
https://www.itv.com/watch/world-cup-classics/10a3062/10a3062a0037
Thank you very much!!!!!
-
Here's your "crash course".
https://drive.google.com/file/d/18CCd3oYhMdS_e7tnMpf_YO1YjvLFPyRE/view?usp=share_link
Now do your job and do a little bit of reading on this forum. Try to find all the tools I use.
For the first part of getting PSSH via console, you need Eme logger script with TamperMonkey add-on. -
-
-
@vegeta: good info for others to follow so thanks for that. I'd already sussed it out, mine's similar to your method. It's actually the same method as it has been for Britbox.
I'm trying to automate my python scripts for all the UK TV webplayers. One thing I haven't worked out how to do yet, if anybody could help or contact me. I'd love to know how to scrape that PSSH value using code within my script instead of manually having to copy/paste it.
Another one I'd like to automate. Those webplayers (eg. All4, Disc+) that require you to get the CURL(bash), input into a CURL to Python convertor. Copy that Python data, etc.
I'd love python code where you simply input the CURL into my script and it does the conversion for you, returning with a string (instead of having to do it manually).
OK, just a wish list lol.
Back to ITVX. All the advertising hype about it was claiming it will be glorious 1080p. All I'm getting is exactly what ITV Hub was. That is crappy 896x504 @ around 1400K with the godawful 96Kbps audio. Is everybody else getting similar? -
Indeed. Can't go wrong with a Vegeta Video™ and I'm always taking notes from others here to have something to look through when stuck on something.
I'm trying to automate my python scripts for all the UK TV webplayers. One thing I haven't worked out how to do yet, if anybody could help or contact me. I'd love to know how to scrape that PSSH value using code within my script instead of manually having to copy/paste it.
However, since the license server doesn't seem to impose a time limit, you can skip parsing the manifest yourself and just download the encrypted episode in its entirety with yt-dlp or whatever first using the manifest URL, then read out the PSSH from the encrypted audio file - something like https://forum.videohelp.com/threads/405001-How-to-get-the-widevine-pssh-from-init-mp4-...pt#post2650501 - and then make the license request.
Another one I'd like to automate. Those webplayers (eg. All4, Disc+) that require you to get the CURL(bash), input into a CURL to Python convertor. Copy that Python data, etc.
I'd love python code where you simply input the CURL into my script and it does the conversion for you, returning with a string (instead of having to do it manually).
This person worked out how their site works from top-to-bottom and the result is you don't even need anything from the website other than the URL of an episode.
The uncurl Python library is meant to turn cURL command lines into requests calls, but I could never get it to work. It would be the easiest way to do what you want though if you have better luck than me.
The guy behind curlconverter.com made a Node.js library (the site seems to be an interface to it), so I just installed Node.js and that library (npm install --global curlconverter && npm link curlconverter) and had the Python script run Node:
Code:headers_dest = rf"widevine_keys/headers2.py" headers2_gen_script = "curl_headers_to_python.js" with open(headers2_gen_script, "w", encoding="utf8") as f: f.write(rf"""require('fs').writeFileSync('{headers_dest}', require('curlconverter').toPython(`{widevine_license_curl_command}`))""") subprocess.check_call(["node", headers2_gen_script]) try: os.remove(headers2_gen_script) except: pass
(widevine_license_curl_command being the curl command-line itself.)
Back to ITVX. All the advertising hype about it was claiming it will be glorious 1080p. All I'm getting is exactly what ITV Hub was. That is crappy 896x504 @ around 1400K with the godawful 96Kbps audio. Is everybody else getting similar? -
@ AbortRetryFail Wow, some food for thought there. Many thanks for all that. I didn't even realise somebody else had streamlined All4 player better than myself lol.
What my All4 script does:
All the user has to do is first copy to clipboard from that cURL to Python convertor.
He'll also have to input (when prompted) the mpd URL, license URL and final file name that he wants. The script does the rest:
It takes the string that's on the clipboard, adds it to start of a barebones headers.py, extracts the request_id and token and copies it to existing text in headers.py.
Then it takes the inputted mpd URL & licence and finds KEY# using our old friendly l3.py
Then it downloads encrypted audio and video files, using aria2c of course (at the same time making sure it uses the none AD audio stream where that's appropriate).
Then it decrypts same.
Then it muxes to the final file name.
Then it gets rid of the shite lol.
Three months ago I hadn't done any coding of any form (well, apart from Basic in the early 1980s and 6502 and Z80 machine code programming, again early 1980s).
Purely from using some excellent Python tutorials on YouTube, I'm not too bad now (but still "wet behind the ears" compared to even many amateurs). And it's fun. And it's not too late to learn. I'm in my 70s lol.
[QUOTE=AbortRetryFail;2672944] I don't believe it's anything to do with which widevine encoding they're using. Even if you just stream the video in a browser, it's SD quality only.
So, I'm not getting 1080p full stop. as I asked, is it the same for everybody else?
Maybe it'll come. The roll out date for ITVX was supposed to be Dec 8. So it's early. -
Hi
Following on from this, I'm looking to do something similar to the OP.
I had downloaded the first 15 episodes of The World Cup Preview Show on ITV Hub just using ClipGrab. Evidently, ITV Hub has now changed to ITVx and that no longer works. I presume there is some form of encoding that stops ClipGrab working its magic. Annoyingly, there is only 1 episode left!!
So I read this post, and specifically the reply from Vegeta, downloaded the Crash Course and attempted to follow the process....Bearing in mind I have absolutely no experience (or knowledge!) in coding there is very, very little chance I'll be able to manage that. For a stater, I downloaded Eme logger script with TamperMonkey add-on and the data I got when I hit F12 was very different from what Vegeta had on the right-hand side of his video. I couldn't see any init data in the console tab or anything to get the licence in Network. Clearly I'm missing something....
All I really want is a means by which I can save the last episode as an MP4 or AVI onto my PC. I appreciate that that's maybe not as simple as it sounds (to me anyway!) I'm hoping that someone could suggest a work-around. I tried using Bandicam to "film" the episode but that didn't work, either. There was audio on the video but just a black screen. Frustrating how simple it was before and how difficult it would appear to be now!!
I'd appreciate any help here but please bear in mind I have a very, very limited understanding of how these things work.
I'm also hoping to do the same for the highlights of the matches when the World Cup starts.....
Thanks -
Last edited by adrian44; 19th Nov 2022 at 22:08.
-
https://www.itv.com/watch/fifa-world-cup-preview-show/10a3622/10a3622a0016
Thank you very much! -
-
You're right. I tried the ITV app (the latest version Google Play would offer me, which still carries ITV Hub branding and not ITVX) on my phone with a valid L1 and the manifest it still pulls down on the phone for the first episode of Broadchurch offers 896x504 max. My crude attempts at URL manipulation didn't net me anything higher than that.
I'd be surprised if they end up offering 1080p except for very special broadcasts or if you're paying them, as they have a good thing going here: serve 1001 ads to users before actually playing an episode with poor quality to save on bandwidth costs. Maybe I need the actual ITVX app and to try it on something recently released for 1080p...Last edited by AbortRetryFail; 20th Nov 2022 at 04:31.
-
How do some manage to obtain 1080p versions of ITV programs then? I've obtained a few events that ITV exclusively broadcast, created by others, that are in 1080p resolution. I wonder?
-
Probably one of the following, I'd hazard:
- The Hub/ITVx is skipped entirely and the program was captured from a TV broadcast
- 1080p might be offered if you're using the app on a TV
- Or just plain better knowledge than what I have. This phone is running an old Android version and the ITV app might've detected root, which might play into the decision to feed it a basic stream. The cynic in me still thinks they'll try and serve poor streams where possible though
-
Thanks for confirming it's not just me getting 504p from ITVX.
Regarding what you get if you pay the subs. A mate of mine went for that (OK, he gets a 7 day free trial before the payment kicks in) and it's still only 504p.
ITV are one of the main broadcasters in the UK, so 1080p should be the norm these days for them. BBC iplayer offers 1080p (and 4K on certain shows). Pretty much everything on ITV1 is on STV player which is 1080p (which is none encrypted apart from some imported boxsets and major live sports). All4 is 1080p. Discovery+ is 1080p (mainly for Quest and Really). So, in the UK, apart from ITV, the only free-to-air channel players that are not 1080p are My5 (for CH5 and its offshoots) and UKTV play (for Dave, Drama, Yesterday, W channels). In ROI, RTE player is 1080p as well. -
So... 1080p ITVX depends on device. FireTV was certainly giving 1080p for some things (and actually was doing for at least a week while it was still ITVHub). I'm waiting until the actual launch date next month to see if anything changes.
EDIT: ITV have now made some changes... My Android device is now giving 720p in the manifest
UKTVPlay are going HD.... As of the middle of next week they will begin adding anything new in HD and also updating existing content bit by bit.
My5 have said they are looking into HD (Its already available in HD on some Samsung TV's and Bluray players)... They said they have no timeline for any kind of updates though.Last edited by T33V33; 24th Nov 2022 at 10:53.
-
Ditto re low quality from ITVX.
Has anyone managed to get the keys for ITVX using l3.py and their own CDM. No issues using getwvkeys but I do like to be as self sufficient as possible. (I have it working for C5, UKTV etc) but keep getting errors with ITVX headers.
lcsneil -
-
I appreciate these tips. Unfortunately, I am about medium skill level. Copying links into Videomass worked in the past: whether that meant copying directly from ITV Hub into Videomass or discovering a more hidden URL via VideoHelpDownloader and then pasting that URL into Videomass (i.e., FIFA TV.com).
Oddly, but not surprising, using The Stream Detector can produce MP4 links but those links are only for the ads that play before the content:
https://www.itv.com/watch/world-cup-classics/10a3062/10a3062a0033
https://www.itv.com/watch/world-cup-classics/10a3062/10a3062a0024 -
Similar Threads
-
Failing to download on ITV Hub
By ChemicalMisfit in forum Video Streaming DownloadingReplies: 20Last Post: 7th Feb 2022, 16:14 -
How are people downloading from ITV Player in 2021?
By gazzacee in forum Video Streaming DownloadingReplies: 6Last Post: 4th Aug 2021, 15:52 -
problems downloading itv.com/ itv player files with tubedigger software
By elm in forum Video Streaming DownloadingReplies: 1Last Post: 4th May 2021, 04:28 -
Itv subtitles
By codymts in forum SubtitleReplies: 1Last Post: 11th Dec 2020, 15:30 -
CMD Get Crash when downloading this MPD URL!
By Semohan in forum Video Streaming DownloadingReplies: 4Last Post: 4th Dec 2020, 12:10