I'm trying to use envied to download an ITV program, and I get the following error. I've got the logon credentials in my unshackle.yaml and I've run the episode in google chrome. There's probably something simple to fix, but I can't see what it is!
Any ideas?
uv run unshackle --debug dl ITV https://www.itv.com/watch/unforgotten/2a3372/2a3372a0031
░█▀▀░█▀█░█░█░▀█▀░█▀▀░█▀▄
░█▀▀░█░█░▀▄▀░░█░░█▀▀░█░█
░▀▀▀░▀░▀░░▀░░▀▀▀░▀▀▀░▀▀░
and more than unshackled...
v 2.1.0 - https://github.com/vinefeeder/envied
Service Config loaded
Loaded 0/0 Vaults
No vaults are currently active
Starting new HTTPS connection (1): api.nordvpn.com:443
https://api.nordvpn.com:443 "GET /v1/servers/countries HTTP/1.1" 200
None
Loaded NordVPN: 130 Countries (9056 Servers)
─────────────────────────────── Service: ITV ───────────────────────────────
Starting new HTTPS connection (1): ipinfo.io:443
https://ipinfo.io:443 "GET /json HTTP/1.1" 200 None
Service is not Geoblocked in your region
- Error: This service requires cookies for authentication.
+ Reply to Thread
Results 1 to 9 of 9
-
-
You need to export your ITV cookies from Chrome and tell envied to use them.
Step 1: Export Cookies from Chrome
Install one of these extensions:
“Get cookies.txt LOCALLY” or “EditThisCookie”
Then:
Go to
1: https://www.itv.com
2: Make sure you are logged in
3: Open the extension
4: Export cookies in Netscape format
5: Save as something like:
Step 2: Tell envied to use themitv_cookies.txt
Or add this to your unshackle.yaml:Code:uv run unshackle dl ITV https://www.itv.com/watch/unforgotten/2a3372/2a3372a0031 --cookies itv_cookies.txt
Code:services: ITV: cookies: /full/path/to/itv_cookies.txt -
Thanks sesamap159
I would never have guessed anything like this, although it may be somewhere in the documentation!
Unfortunately, I haven't made it work
There doesn't seem to be a --cookies option in unshackle, and putting the file into unshackle.yaml didn't work either.
What am I doing wrong?
Another point: if I do get this to work, do the cookies expire? -
You will need to look in unshackle --help to see if the --cookies code exists.
https://github.com/unshackle-dl/unshackle/blob/main/docs/OUTPUT_CONFIG.md -
Yes, a job for another day! It used to work in Devine, but now it doesn't, so maybe I need to update the envied codebase.
-
Both Envied and Unshackle work on ITV for me without having to export cookies, I dunno why you have to
-
Thanks vidsrme - it used to work for me too without bothering with cookies! I've moved the problem on a little by removing my credentials for ITV from the yaml file, but it still doesn't work, and crashes the command window

That was the situation when I started writing this reply, but I did some more experimenting to find a precise error message. I've added an explicit directory for the WVDs, and it now works! Don't know why it stopped working, because I don't think I had one before.
But - problem solved, so thank you for making me persist...
-
the ITV service __init__.py carries some help
[Attachment 91393 - Click to enlarge]
Always a good habit to look there first!!
It says cookies optional for non-premium. as visrme say you don't need them. If you do...
Cookies go in the Cookies folder, if it exists, or you make one at the location as pointed to by envied.yaml under 'directories'. You name cookies exactly as the service is named ITV.txt To find the cookies to save - use https://github.com/rotemdan/ExportCookies as a browser extension. If there are two to save, choose the larger one first. If that doesn't work select the other. -
Thanks phased - useful advice to keep in mind! I've solved my original problem with another directory entry, but I'm still a bit puzzled over why the problem arose in the first place. I'll just let that mull over in my mind...
Similar Threads
-
Envied - a fork of a fork of Devine
By A_n_g_e_l_a in forum Video Streaming DownloadingReplies: 27Last Post: 12th Apr 2026, 08:06 -
Why could I not get a vid when I had 'use cookies' in there?
By abrogard in forum Video Streaming DownloadingReplies: 1Last Post: 9th Jun 2025, 07:29 -
How do I add cookies to my header?
By nammin in forum Video Streaming DownloadingReplies: 19Last Post: 28th Jul 2023, 19:57 -
itv hd
By bigd in forum Video Streaming DownloadingReplies: 22Last Post: 23rd Nov 2022, 06:25 -
problems downloading itv.com/ itv player files with tubedigger software
By elm in forum Video Streaming DownloadingReplies: 1Last Post: 4th May 2021, 04:28



Quote