Hi,
I've been merrily grabbing old faves from itv dot com for a few days now, thanks to the wonderful work of many of you on this forum. Last night, I thought I'd check out the Premium content, so I subscribed on the free trial.
Since then, every time I try to download I get a 403 response - and this is on itv material which is not in their premium package. (I cancelled the trial to see if that was the cause, and it made no difference)
For example, for Sweeney! I get this:
[Attachment 70984 - Click to enlarge]
So I can play the video in my browser, and the key is found, and I am still able to grab stuff from UKTVPlay etc...
N_m3u8DL-RE version 0.1.5.3
yt-dlp version 2023.03.04 (I tried with this, didn't work either, same 403)
I'm in the UK, no VPN.
Any help appreciated!![]()
Support our site by donate $5 directly to us Thanks!!!
Try StreamFab Downloader and download streaming video from Netflix, Amazon!
Try StreamFab Downloader and download streaming video from Netflix, Amazon!
+ Reply to Thread
Results 1 to 15 of 15
-
-
yt-dlp?
However, I have just had success using The Stream Detector's "copy stream URL as ytp-dl command".
That generates this massive string:
Code:yt-dlp --no-part --restrict-filenames -N 6 --user-agent "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:109.0) Gecko/20100101 Firefox/112.0" --add-header "Cookie:Itv.Cid=fbe3602d-a4d0-4e3f-a402-1eff3a6dcbe6; mid=11098007993575715427; _abck=78A5FC3CDE6D6C85CC200FC70DA1BC26~-1~YAAQnMNQaFfKRgeIAQAANc0QFAkJfw275wu3PjhW8R3K9zg1RuSwEX83jHPRE2Q3+ttW1+XGIujefQnsHYXvDOBhEaH6fe7ZqoxkcaFXModvJb72N8xzgJlkW6osIaUz2oFiAF25OuVe7K97GSn5lUOwg7HyY/gY6+YukcQRk9xUyxDAZMgO8AquZxJzihmBuhm6nYwI5zgKmpklFwRqLp5OLnVRSPxA38lNxrQo9y5DI1IysWImCkhmIh6ehono/RV067+gcZUoss9j4/Z7rVw1BAR0LjzX/8hFnDLgAyObCzf8OWKje1oQQKpn8Q5ym14/gx05/abp8VTLzWpZtqUT50ApJ/YS0Q3/D2hJKFa7THSiJOTKn82SBpY9vGEpTNwffXIaIdE=~-1~-1~-1; hdntl=exp=1684050980~acl=%2f1-7442-0001-004%2f*~data=hdntl,hubplus~hmac=35a9ff1fca04a5c4ce2661bc43937268a22174ca4780a9869b11cb6aa1b184b0; Itv.Session={'tokens':{'content':{'entitlement':{'purchased':['adfree','downloads','HD'],'source':'stripe','failed_availability_checks':[]},'email_verified':true,'token_type':'bearer','access_token':'eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiJ9.eyJpc3MiOiJodHRwczovL2F1dGguaXR2LmNvbSIsInN1YiI6IjM4MGE2MzJkLTg5N2MtNGY0NC04ZjcyLWI4YmI5M2Y0NTNjMCIsImV4cCI6MTY4NDA2MzEwNCwiaWF0IjoxNjgzOTczMTA0LCJicm9hZGNhc3RFcnJvck1zZyI6IiIsImJyb2FkY2FzdFJlc3BvbnNlQ29kZSI6IjIwMCIsImJyb2FkY2FzdGVyIjoiSVRWIiwiaXNBY3RpdmUiOnRydWUsIm5vbmNlIjoiY2VyYmVydXMtYXV0aC1yZXF1ZXN0LTE2ODM5MzA5MDU1MTIiLCJuYW1lIjoiUGhpbGlwIiwic2NvcGUiOiJjb250ZW50IiwiZW50aXRsZW1lbnRzIjpbImFkZnJlZSIsImRvd25sb2FkcyIsIkhEIl0sInBheW1lbnRTb3VyY2UiOiJzdHJpcGUiLCJzaG93UHJpdmFjeU5vdGljZSI6ZmFsc2UsInVuZGVyMTgiOmZhbHNlLCJhY2NvdW50UHJvZmlsZUlkSW5Vc2UiOm51bGx9.C-vTNK1IDhxCz2KPHRtfOS6nQLzxjg0cPalV41cj8Rp-Z_evlE_L7jWBYMozikgPa3ONHhU74xJ1kq3NckJcFSLqbtViSytWOQMxkd3EksB4OceSk1czM5-zIMs5akxXPP_RQ8q13XdcvfOdc_Dyu0iIbMEStaQrVD5Kb08P13TUCF0QaAkAIuQm7ON9UJkpARITFz-LwVxkwcUSLOJ7ZWvcVajswsWx7q5NEZ9gpq6eHAEK0vS6kTrnqcwAb30BEPG1HNIx9ACxD8eLKLplmA0FmfIlFSYaJzG-v6iDfC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msLFlLEN70tu3rWvft++ceWZ7A7PnrFyxPPsFssW+qA=~4338225~3159364" --referer "https://www.itv.com/" --output "Sweeney! - ITVX.%(ext)s" "https://itvpnpdotcom.blue.content.itv.com/1-7442-0001-004/34/2/VAR028-HD-s/1-7442-0001-004_34_2_VAR028-HD-s.ism/.mpd?filter=%28%28type%3D%3D%22video%22%26%26DisplayHeight%3C%3D720%29%7C%7C%28type%21%3D%22video%22%29%29&hdnea=st%3D1683973094~exp%3D1683994694~acl%3D/1-7442-0001-004/%2A~data%3Dhubplus~hmac%3D958e5e7c9d815b3b7ab817dafe52ab2ee307879dc0a24f8afc658f62d8cacf95"
-
The problem was I didn't realize that, when I cancelled my subscription, I was still in the "trial", so I fully expect this problem will go away in a week, when cookies are reset for my account ID.
If you can't wait a week:
1. use The Stream Detector's "copy stream URL as ytp-dl command"
2. in a command box, paste, append --allow-u, and run, this will download the (encrypyted) video and audio files
3. modify one of the ITVX.py scripts here to get the key (the mpd is embedded at the end of the ytp-dl command)
4. use mp4decrypt or shaka-packager to decrypt the video and audio files
5. join the decrypted video+audio, e.g.Code:ffmpeg -i v.mp4 -i a.m4a -c:v copy -c:a copy -map 0:v:0 -map 1:a:0 output.mp4
-
I was able to download it with yt-dlp using the --allow-u command, then decrypt both audio & video with mp4decrypt.
I was just obsessed with trying to grab it with N_m3u8DL-RE.
BTW, I'm using a VPN (free of charge/unlimited one, UrbanVPN), from Argentina, and no premium access, not even trial (just free account).Last edited by oopargentina; 14th May 2023 at 11:19.
-
Oh, okay, then maybe I'm stuck with yt-dlp too. :/
If you look at the yt-dlp command there's an awful lot more data supplied than the old "table entry" one. However, the "N_m3u9DL-RE command" option doesn't work either. Either the script or the app needs updating, I suppose. -
I guess so.
You mean the yt-dlp command you get from Stream Detector?
If so, that command didn't work for me.
I just pressed F12 and grabbed the mpd link. I got something like this:
For this video:
Code:https://www.itv.com/watch/an-audience-with/L0055/1a6370a0003
Code:https://itvpnpdotcom.blue.content.itv.com/1-6370-0003-001/34/1/VAR028-HD-s/1-6370-0003-001_34_1_VAR028-HD-s.ism/.mpd?filter=%28%28type%3D%3D%22video%22%26%26DisplayHeight%3C%3D720%29%7C%7C%28type%21%3D%22video%22%29%29&hdnea=st%3D1684081598~exp%3D1684103198~acl%3D/1-6370-0003-001/%2A~data%3Dnohubplus~hmac%3Db5f5f3452759e63a806f863775635164f7912922178db52823452e037b38bc0e
Code:7b167b1fa9534fe68e0c1c830a855131:f13153785053f60e54588607b2f19877
Code:yt-dlp --allow-u --downloader aria2c -f bv,ba "https://itvpnpdotcom.blue.content.itv.com/1-6370-0003-001/34/1/VAR028-HD-s/1-6370-0003-001_34_1_VAR028-HD-s.ism/.mpd?filter=%28%28type%3D%3D%22video%22%26%26DisplayHeight%3C%3D720%29%7C%7C%28type%21%3D%22video%22%29%29&hdnea=st%3D1684081598~exp%3D1684103198~acl%3D/1-6370-0003-001/%2A~data%3Dnohubplus~hmac%3Db5f5f3452759e63a806f863775635164f7912922178db52823452e037b38bc0e"
Code:ffmpeg.exe -i v_dec.mp4 -i a_dec.m4a -c copy final.mp4
Last edited by oopargentina; 14th May 2023 at 12:04.
-
-
Oh, to the end of it? No, I didn't. Lol.
Yeah, as you said, slow, but it works, which in the end, is all that matters -
That's a cookie error.
Using yt-dlp is an inelegant way of avoiding the issue. But you'll also avoid faster downloads.
The script you've used prepares a cookie so N-m3u8DL-RE can get past ITVX's defences. Since you've taken a premium subscription I guess the nature of the cookie now expected from your login and IP will be different. One possible way around your issue is to create a spoof login to ITVX that doesn't have a premium account and use that from a different browser on your machine. mail.yandex.com is ok for spoof accounts.
Update to the latest version of my ITVXbatch.py it is the second script in this post https://forum.videohelp.com/threads/407216-Decryption-The-Dungeon-of-Despair#post2669285 Shown working below with better program labelling.
[Attachment 71016 - Click to enlarge]Last edited by A_n_g_e_l_a; 14th May 2023 at 15:28.
-
In my case I prefer yt-dlp since I don't have the best Internet connection and using a solitary thread for downloading doesn't cripple web browsing etc.
Thanks so much for that ITVXbatch.py, by the way; I was using the earlier version, which I then modified just to produce the key (which I copy back to the clipboard withCode:PC.copy(mykeys)
-
-
-
Just to update: all working again after the week "trial" finished and I'm back to being non-premium.
Similar Threads
-
Always getting a 403 Forbidden Error
By cohnhead in forum Video Streaming DownloadingReplies: 20Last Post: 4th Sep 2023, 08:35 -
Getting 403 error with some Tubi streams and not others
By somnambulist in forum Video Streaming DownloadingReplies: 8Last Post: 24th Nov 2022, 12:17 -
youtube-dl 403 error
By nikshell29 in forum Video Streaming DownloadingReplies: 6Last Post: 3rd Jul 2021, 07:44 -
ffmpeg error 403
By bigge in forum Video Streaming DownloadingReplies: 3Last Post: 13th May 2021, 08:51 -
403 Forbidden error
By Skoosh in forum Video Streaming DownloadingReplies: 2Last Post: 15th Nov 2018, 11:02