As I said, all other webplayers work stabbedbybrickCode:py freevine.py --episode S01E01 "https://www.itv.com/watch/a-mothers-son/1a9851" 18:15:20.737 INFO : Freevine v0.0.6 (080923) 18:15:21.263 INFO : ITV 18:15:21.441 INFO : A Mother's Son: 1 Season(s), 2 Episode(s) Traceback (most recent call last): File "D:\widevine_keys\freevine-main\freevine.py", line 38, in <module> main() File "C:\Users\me\AppData\Roaming\Python\Python310\site-packages\click\core.py", line 1157, in __call__ return self.main(*args, **kwargs) File "C:\Users\me\AppData\Roaming\Python\Python310\site-packages\click\core.py", line 1078, in main rv = self.invoke(ctx) File "C:\Users\me\AppData\Roaming\Python\Python310\site-packages\click\core.py", line 1434, in invoke return ctx.invoke(self.callback, **ctx.params) File "C:\Users\me\AppData\Roaming\Python\Python310\site-packages\click\core.py", line 783, in invoke return __callback(*args, **kwargs) File "D:\widevine_keys\freevine-main\freevine.py", line 32, in main Service(config, **kwargs) File "D:\widevine_keys\freevine-main\services\itv.py", line 65, in __init__ self.get_episode() if self.episode else None File "D:\widevine_keys\freevine-main\services\itv.py", line 203, in get_episode self.download(target, title) if target else info( File "D:\widevine_keys\freevine-main\services\itv.py", line 268, in download resolution, pssh = self.get_mediainfo(manifest, self.quality) File "D:\widevine_keys\freevine-main\services\itv.py", line 155, in get_mediainfo pssh = self.get_pssh(soup) File "D:\widevine_keys\freevine-main\services\itv.py", line 144, in get_pssh .attrs.get("cenc:default_KID") AttributeError: 'NoneType' object has no attribute 'attrs'
+ Reply to Thread
Results 31 to 53 of 53
-
Last edited by deccavox; 16th Sep 2023 at 05:33.
-
Code:
freevine.py -e S01E01 https://www.itv.com/watch/a-mothers-son/1a9851
[Attachment 73819 - Click to enlarge] -
They work for the most part, but there are some definitive bugs here and there, and I don't mind people reporting them.
But I can't reproduce this particular error. It works just fine for me:
Code:19:36:21.885 INFO : Freevine v0.0.6 (080923) 19:37:22.332 INFO : ITV 19:37:23.467 INFO : A Mother's Son: 1 Season(s), 2 Episode(s) 19:37:25.530 INFO : A.Mothers.Son.S01E01 19:37:25.530 INFO : a2496e910d3c4b28a9af9897cb1265b7:56028083827be5859fad4e61c6ca9efb
-
Sometimes when a download fails, if you close the cmd window and relaunch the program and drop in your url and your instructions it ends up getting what it failed to get before. But adapt because if it is a whole slew of episodes from a season the program might want to download those again. If you have for example downloaded five of ten episodes just adapt your instructions to not include the ones that did download correctly. I learned this with CTV and TubiTV. I don't have a VPN so I haven't tried ITV and such but I may have to set some money aside for a VPN because I am big fan of U.K. TV Shows.
-
-
-
I get the same errors with ITV. Similar errors with STV.
The scripts finds the episodes without a problem.
Then throws a wobbly.
-
Make sure you guys are using the correct Python version (3.10.*) when running the program. If you do, and the errors persist, let me know and I'll look into it.
It might also be time to make a separate thread for this since this one is kind of all over the place. -
-
Hey stabbedbybrick, just wanted to say that this is an amazing tool to use. To just grab 30+ episodes with 1 link and sit back is like magic to me.
I do have 1 tiny tiny request and that is, if it would be possible to convert the subtitles from .vtt to .srt before muxing them into the .mkv container? It is just that plex does not play nice with those kind of subtitles.
I understand if that is how you prefer them and do not want to do that by default, then maybe make it optional:
freevine.py --episode S01E01 --subs-srt URL -
All right, after some testing it turns out the issue is definitely with the Python versions. It's very common for modules to behave differently in each version of Python and I thought that putting 3.10.* in the requirements was enough, but apparently it's even more specific than that. I'm on Linux, which defaults to 3.10.12 and is guaranteed to work. I don't feel like testing every single version, so I guess that's the official recommendation.
@cmonSon:
You're very welcome, glad you're enjoying it.
N_m3u8DL-RE is supposed to convert and "fix" the subtitles, but maybe it's not enough? I don't really use subtitles so I haven't noticed, but I'll see if I can figure something out for future updates. -
-
Subtitle formats and how they are served with the stream varies from service to service, and I guess N_m3u8DL-RE doesn't convert the ones you have to import, like CTV.
But it turns out it was a pretty simple fix to get SRT subtitles for CTV. I'll include it in the next update. -
Ah well, I'm v3.10.1
I'm working my way through the script to maybe spot something but it could take a while (there's a few modules I'm having to learn about lol).
The lack of ITVX is no big deal really. Their content is pretty much covered by STV anyway, but better specs (1080p vs 720p & 128Kbps vs 96Kbps). OK, I lose out on ITV2/3/4/Be content. Not much there and I still have my own ITVX downloader (though not as sophisticated as this one, I have to input one episode at a time).
Your script works great with the other webplayers I use (All4, STV, UKTV) so I do thank you for that. -
-
The error has been fixed, and all services should now work in just about any Python version from at least 3.10 and up. Probably lower versions as well, but I can't check all of them.
-
Moved to Freevine-support-thread
Last edited by deccavox; 18th Sep 2023 at 13:53.
-
Getting a token error with Britbox content on ITVX:
Error! 403
b'{\n "Message" : "UserTokenValidationFailed for user: None message: Token not
provided",\n "TransactionId" : "oas-magni-935833-gnWjlM"\n}'
However working fine with catchup programmes on the service. -
Please use the new Freevine support thread from here on out: https://forum.videohelp.com/threads/411643-Freevine-support-thread
It's a bit easier to keep everything in one place rather than running around several threads.
Similar Threads
-
Is there any way to batch download from places like channel4 and ITV?
By col451 in forum Video Streaming DownloadingReplies: 5Last Post: 9th Aug 2023, 06:45 -
A Downloader that works with the UK's Channel4 aka All4
By pooksahib in forum Video Streaming DownloadingReplies: 9Last Post: 21st Feb 2023, 06:25 -
Channel4 cript changef
By joaopa in forum Video Streaming DownloadingReplies: 18Last Post: 16th Jun 2022, 14:57 -
channel4.com / 4oD
By uksniper in forum Video Streaming DownloadingReplies: 0Last Post: 26th Sep 2020, 17:44 -
capture from catchup tv channel4 uk
By lawrencek in forum Capturing and VCRReplies: 1Last Post: 27th May 2019, 16:01