Hi Guys having an issue with ITVX and reading the help about 'None Type' it says maybe N_m3u8DL-RE isn't correctly in the path but it certainly is.
Hoping someone has an alternative to this issue
Code:(env) C:\ffmpeg\bin\env\freevine-main>python freevine.py --episode https://www.itv.com/watch/the-only-way-is-essex/1a9310/1a9310a0401 13:38:36.301 INFO : Freevine v1.0.0 13:38:36.362 INFO : ITVX Traceback (most recent call last): File "C:\ffmpeg\bin\env\freevine-main\freevine.py", line 66, in <module> main() File "C:\ffmpeg\bin\env\Lib\site-packages\click\core.py", line 1157, in __call__ return self.main(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\ffmpeg\bin\env\Lib\site-packages\click\core.py", line 1078, in main rv = self.invoke(ctx) ^^^^^^^^^^^^^^^^ File "C:\ffmpeg\bin\env\Lib\site-packages\click\core.py", line 1434, in invoke return ctx.invoke(self.callback, **ctx.params) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\ffmpeg\bin\env\Lib\site-packages\click\core.py", line 783, in invoke return __callback(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\ffmpeg\bin\env\freevine-main\freevine.py", line 60, in main Service(main_config, srvc_api, srvc_config, wvd, **kwargs) File "C:\ffmpeg\bin\env\freevine-main\services\itv\itv.py", line 49, in __init__ self.config.update(yaml.safe_load(f)) TypeError: 'NoneType' object is not iterable
Try StreamFab Downloader and download from Netflix, Amazon, Youtube! Or Try DVDFab and copy Blu-rays!
Try StreamFab Downloader and download streaming video from Youtube, Netflix, Amazon! Download free trial.
+ Reply to Thread
Results 301 to 330 of 1522
Thread
-
-
looks to be an issue when the api.yaml file is empty and not needed for a given service.
either comment out the lines in the script that read and import the config (ie. line 48 and 49 for itv) or add a dummy config in the api.yaml file
Code:## SERVICE SETTINGS FOR ITV foo: "blah"
-
Hey, trying to run the new release, and running into issues with both CTV and ITVX. Did I do anything wrong? I moved over my CDM and it created a new WVD file for me.
CTV Error:
Code:Traceback (most recent call last): File "/Users/user/freevine/freevine.py", line 66, in <module> main() File "/Users/user/miniconda3/lib/python3.10/site-packages/click/core.py", line 1130, in __call__ return self.main(*args, **kwargs) File "/Users/user/miniconda3/lib/python3.10/site-packages/click/core.py", line 1055, in main rv = self.invoke(ctx) File "/Users/user/miniconda3/lib/python3.10/site-packages/click/core.py", line 1404, in invoke return ctx.invoke(self.callback, **ctx.params) File "/Users/user/miniconda3/lib/python3.10/site-packages/click/core.py", line 760, in invoke return __callback(*args, **kwargs) File "/Users/user/freevine/freevine.py", line 60, in main Service(main_config, srvc_api, srvc_config, wvd, **kwargs) File "/Users/user/freevine/services/ctv/ctv.py", line 53, in __init__ self.get_options() File "/Users/user/freevine/services/ctv/ctv.py", line 374, in get_options content, title = self.get_content(self.url) File "/Users/user/freevine/services/ctv/ctv.py", line 305, in get_content content = self.get_series(url) File "/Users/user/freevine/services/ctv/ctv.py", line 175, in get_series titles = asyncio.run(self.get_titles(data["contentData"]["seasons"])) TypeError: 'NoneType' object is not subscriptable
Code:Traceback (most recent call last): File "/Users/user/freevine/freevine.py", line 66, in <module> main() File "/Users/user/miniconda3/lib/python3.10/site-packages/click/core.py", line 1130, in __call__ return self.main(*args, **kwargs) File "/Users/user/miniconda3/lib/python3.10/site-packages/click/core.py", line 1055, in main rv = self.invoke(ctx) File "/Users/user/miniconda3/lib/python3.10/site-packages/click/core.py", line 1404, in invoke return ctx.invoke(self.callback, **ctx.params) File "/Users/user/miniconda3/lib/python3.10/site-packages/click/core.py", line 760, in invoke return __callback(*args, **kwargs) File "/Users/user/freevine/freevine.py", line 60, in main Service(main_config, srvc_api, srvc_config, wvd, **kwargs) File "/Users/user/freevine/services/itv/itv.py", line 49, in __init__ self.config.update(yaml.safe_load(f)) TypeError: 'NoneType' object is not iterable
-
-
You're a Legend ElCap. commenting out those lines fixed this particular error in ITVX.
Thanks so much -
-
Thanks for assisting with ITV! Unfortunately, running into a different error now:
Code:python3 freevine.py "https://www.itv.com/watch/30-rock/10a3798/10a3798a0097" 11:45:45.641 INFO : Freevine v1.0.0 11:45:45.641 INFO : WVD file is missing. Attempting to create a new one... 11:45:45.688 INFO : New WVD file successfully created 11:45:45.746 INFO : ITVX 11:45:47.633 INFO : 30 Rock: 7 Season(s), 133 Episode(s) Traceback (most recent call last): File "/Users/user/freevine/freevine.py", line 66, in <module> main() File "/Users/user/miniconda3/lib/python3.10/site-packages/click/core.py", line 1130, in __call__ return self.main(*args, **kwargs) File "/Users/user/miniconda3/lib/python3.10/site-packages/click/core.py", line 1055, in main rv = self.invoke(ctx) File "/Users/user/miniconda3/lib/python3.10/site-packages/click/core.py", line 1404, in invoke return ctx.invoke(self.callback, **ctx.params) File "/Users/user/miniconda3/lib/python3.10/site-packages/click/core.py", line 760, in invoke return __callback(*args, **kwargs) File "/Users/user/freevine/freevine.py", line 60, in main Service(main_config, srvc_api, srvc_config, wvd, **kwargs) File "/Users/user/freevine/services/itv/itv.py", line 51, in __init__ self.get_options() File "/Users/user/freevine/services/itv/itv.py", line 257, in get_options for download in downloads: UnboundLocalError: local variable 'downloads' referenced before assignment
-
-
That solved it for CTV and ITV! Thank you. Only problem now is that the video for CTV appears to not download (audio and subtitles are fine).
Code:11:53:11.553 INFO : Binary merging... 11:53:13.299 WARN : Response status code does not indicate success: 404 (Not Found).0x1080 | 7200 Kbps ━━━━━━━━━━━━━ 0% 823.00B/352.8 0.00Bps(4) 00:08:42
-
-
Looks like they're keeping you busy, ElCap
Appreciate the help! -
-
Hi stabbedbybrick,
Could you possible throw any light on this problem I seem to be having please??
All required files from the "readme" have been copied into the folder that holds freevine.py
C:\freevine-1.0.0>freevine.py
13:01:56.103 INFO : Freevine v1.0.0
13:01:56.104 INFO : WVD file is missing. Attempting to create a new one...
13:01:56.229 INFO : New WVD file successfully created
C:\freevine-1.0.0>
-------------------------------------------------------------------
This was an attempt on a set of small files from the beeb.
freevine.py --season S02 https://www.bbc.co.uk/iplayer/episodes/m0009tgy/bing?seriesId=m0009xhl
(This worked perfectly).....
Just interested in what "13:01:56.236 ERROR : Service is not supported" possibly means.
Thank you for any help/advice.
p.s. rather stupidly I should have refreshed this page,..... lots of updates since my last post. My only question is about the above error. -
-
@stabbedbybrick please confirm that in order to switch between mkv and mp4 containers, the only workable solution is to either run some script that enables the respective container in the config.yaml or alternatively to have an exact copy of the freevine folder with the only difference being the format line in config.yaml?
Everything else seems configurable on the command line. -
@sipho:
Unless I'm misunderstanding you, simply using "--format mp4" should work. I've used it many times already and haven't experienced any issues.
What is it that doesn't work for you? -
I got pluto and channel4 working great but for some reason can't get channel5 to work. I can find the show using --search:
Code:python3 freevine.py --search channel5 swipe 14:43:19.730 INFO : Freevine v0.6.2-beta (20231031) My5 Title: Swipe, Match, Murder: The Disappearance of Grace Millane Type: Documentary Synopsis: The story of the murder of British backpacker Grace Millane and how her killer was caught. Link: https://www.channel5.com/show/swipe-match-murder-the-disappearance-of-grace-millane
Code:python3 freevine.py --complete "https://www.channel5.com/show/swipe-match-murder-the-disappearance-of-grace-millane/" 14:49:40.223 INFO : Freevine v0.6.2-beta (20231031) Traceback (most recent call last): File "/home/pc/Desktop/freevine-0.6.2-beta/freevine.py", line 46, in <module> main() File "/home/pc/.local/lib/python3.9/site-packages/click/core.py", line 1157, in __call__ return self.main(*args, **kwargs) File "/home/pc/.local/lib/python3.9/site-packages/click/core.py", line 1078, in main rv = self.invoke(ctx) File "/home/pc/.local/lib/python3.9/site-packages/click/core.py", line 1434, in invoke return ctx.invoke(self.callback, **ctx.params) File "/home/pc/.local/lib/python3.9/site-packages/click/core.py", line 783, in invoke return __callback(*args, **kwargs) File "/home/pc/Desktop/freevine-0.6.2-beta/freevine.py", line 39, in main Service = get_service(kwargs.get("url")) File "/home/pc/Desktop/freevine-0.6.2-beta/utils/services.py", line 107, in get_service spec.loader.exec_module(service_module) File "<frozen importlib._bootstrap_external>", line 790, in exec_module File "<frozen importlib._bootstrap>", line 228, in _call_with_frames_removed File "services/channel5.py", line 45, in <module> class CHANNEL5(Config): File "services/channel5.py", line 186, in CHANNEL5 def get_content(self, url: str) -> tuple[Movies | Series, str]: TypeError: unsupported operand type(s) for |: 'ABCMeta' and 'ABCMeta'
edit, upgraded to latest version, but still get the same error:
Code:python3 freevine.py --complete "https://www.channel5.com/show/swipe-match-murder-the-disappearance-of-grace-millane/" 15:23:25.038 INFO : Freevine v1.0.0 15:23:25.038 INFO : WVD file is missing. Attempting to create a new one... 15:23:25.160 INFO : New WVD file successfully created Traceback (most recent call last): File "/home/pc/Desktop/freevine-1.0.0/freevine.py", line 66, in <module> main() File "/home/pc/.local/lib/python3.9/site-packages/click/core.py", line 1157, in __call__ return self.main(*args, **kwargs) File "/home/pc/.local/lib/python3.9/site-packages/click/core.py", line 1078, in main rv = self.invoke(ctx) File "/home/pc/.local/lib/python3.9/site-packages/click/core.py", line 1434, in invoke return ctx.invoke(self.callback, **ctx.params) File "/home/pc/.local/lib/python3.9/site-packages/click/core.py", line 783, in invoke return __callback(*args, **kwargs) File "/home/pc/Desktop/freevine-1.0.0/freevine.py", line 59, in main Service, srvc_api, srvc_config = get_service(url) File "/home/pc/Desktop/freevine-1.0.0/utils/services.py", line 137, in get_service spec.loader.exec_module(service_module) File "<frozen importlib._bootstrap_external>", line 790, in exec_module File "<frozen importlib._bootstrap>", line 228, in _call_with_frames_removed File "services/channel5/channel5.py", line 47, in <module> class CHANNEL5(Config): File "services/channel5/channel5.py", line 194, in CHANNEL5 def get_content(self, url: str) -> tuple[Movies | Series, str]: TypeError: unsupported operand type(s) for |: 'ABCMeta' and 'ABCMeta'
Last edited by vidsrme; 13th Nov 2023 at 09:29.
-
-
I tried a small file from ch5,... I used:
from an Elevated cmd prompt.
freevine.py --episode https://www.channel5.com/tweedy-fluff/season-1/stuck-on-you
(this worked fine i got a 1080p file with subtitles embedded) but may not be of much help to you (vidsrme)
Oddly it will not work with:
freevine.py --episode https://www.channel5.com/show/the-gunpowder-plot-countdown-to-treason
C:\freevine-1.0.0>freevine.py --episode https://www.channel5.com/show/the-gunpowder-plot-countdown-to-treason
15:53:06.787 INFO : Freevine v1.0.0
15:53:06.909 INFO : My5 TV
15:53:07.157 ERROR : Invalid URL
How strange...
and yet this finds it:
C:\freevine-1.0.0>freevine.py --search CH5 gunpowder
16:07:41.248 INFO : Freevine v1.0.0
My5
Title: The Gunpowder Plot: Countdown to Treason
Type: Documentary
Synopsis: The real story behind one of the most infamous episodes in British history.
Link: https://www.channel5.com/show/the-gunpowder-plot-countdown-to-treason
Could the reason be because of ch5's weekly change of encryption,....Last edited by LastResort; 13th Nov 2023 at 10:27.
-
-
-
It's most likely your python version. The requirements says 3.10+ for this reason. Some older versions do work, but many don't. I'd recommend 3.10.12 and above.
Originally Posted by LastResort -
-
I haven't upgraded to the newest version yet but I have had some success with Pluto TV and my VPN. It gets huge files but I can encode them to a lower resolution. I ran across a couple of movies today that ended up with Descriptive Audio and so I did a bit of experimenting with N_M3u8DL-RE with Shaka Packager. I loaded the Pluto TV commands and url into Freevine as usual. Then I paused the download and worked with a template for N_M3u8DL-RE where I got the Key:Kid that was revealed in Freevine and the url mpd. I was able to select 854 x 480 (1233 kbs) video resolution the two audio files seemed to be identical so I checked both. However when it was downloaded and decrypted I was able to use VLC and select the regular audio but the first audio that came up was descriptive. Earlier in this thread I was given instructions on how to edit the service config for Tubi TV because I ran across the same thing with "Birds Of Prey".
Here is the template for N_M3u8DL-RE:
LOG 2023/11/13
Save Path: C:\Users\\Desktop\N_m3u8DL-RE\Logs
Task Start: 2023/11/13 20:54:50
Task CommandLine: N_m3u8DL-RE -M format=mp4 --use-shaka-packager --key 0000000064da8ec9ba163181ceb3348e:e58b3267843aa1b7e dff3017e151fab7 http://silo-hybrik.pluto.tv.s3.amazonaws.com/046_Paramount_Pictures_LF/clip/644971e41a...0-end/main.mpd --save-name xxx
20:54:50.629 INFO : N_m3u8DL-RE (Beta version) 20230628
20:54:50.646 EXTRA: ffmpeg => C:\Users\\Desktop\N_m3u8DL-RE\ffmpeg.exe
20:54:50.648 EXTRA: shaka-packager => C:\Users\\Desktop\N_m3u8DL-RE\shaka-packager.exe
20:54:50.648 INFO : Loading URL: http://silo-hybrik.pluto.tv.s3.amazonaws.com/046_Paramount_Pictures_LF/clip/644971e41a...0-end/main.mpd
20:54:57.949 INFO : Content Matched: Dynamic Adaptive Streaming over HTTP
20:54:57.950 INFO : Parsing streams...
20:54:58.098 WARN : Writing meta json
20:54:58.126 INFO : Extracted, there are 8 streams, with 5 basic streams, 2 audio streams, 1 subtitle streams
20:54:58.127 INFO : Vid *CENC 2659 Kbps | 6 | 30 | avc1.64001f | 1384 Segments | ~01h55m17s
20:54:58.128 INFO : Vid *CENC 854x480 | 1829 Kbps | 7 | 30 | avc1.64001f | 1384 Segments | ~01h55m17s
20:54:58.129 INFO : Vid *CENC 854x480 | 1233 Kbps | 5 | 30 | avc1.64001f | 1384 Segments | ~01h55m17s
20:54:58.131 INFO : Vid *CENC 640x360 | 761 Kbps | 4 | 30 | avc1.64001f | 1384 Segments | ~01h55m17s
20:54:58.132 INFO : Vid *CENC 426x240 | 393 Kbps | 2 | 30 | avc1.64001f | 1384 Segments | ~01h55m17s
20:54:58.134 INFO : Aud *CENC 0 | 102 Kbps | mp4a.40.2 | en | 2CH | 1384 Segments | ~01h55m17s
20:54:58.135 INFO : Aud *CENC 3 | 102 Kbps | mp4a.40.2 | en | 2CH | 1384 Segments | ~01h55m17s
20:54:58.136 INFO : Sub 1 | en | wvtt | 1372 Segments | ~01h54m20s
20:57:58.683 INFO : Parsing streams...
20:57:58.700 INFO : Selected streams:
20:57:58.708 INFO : Vid *CENC 854x480 | 1233 Kbps | 5 | 30 | avc1.64001f | 1384 Segments | ~01h55m17s
20:57:58.714 INFO : Aud *CENC 0 | 102 Kbps | mp4a.40.2 | en | 2CH | 1384 Segments | ~01h55m17s
20:57:58.716 INFO : Aud *CENC 3 | 102 Kbps | mp4a.40.2 | en | 2CH | 1384 Segments | ~01h55m17s
20:57:58.719 INFO : Sub 1 | en | wvtt | 1372 Segments | ~01h54m20s
20:57:58.721 WARN : Writing meta json
20:57:58.742 INFO : Save Name: xxx
20:57:58.743 WARN : MuxAfterDone is detected, binary merging is automatically enabled
20:57:58.753 INFO : Start downloading...Vid 854x480 | 1233 Kbps | 5 | 30 | avc1.64001f
20:57:59.597 WARN : Type: cenc
20:57:59.605 WARN : PSSH(WV): EhAAAAAAZNqOyboWMYHOszSMEhAAAAAAZNqOyboWMYHOszSOSO PclZsG
20:57:59.611 WARN : KID: 0000000064da8ec9ba163181ceb3348e
20:57:59.616 WARN : Reading media info...
20:58:00.643 INFO : [0x1]: Video, h264 (avc1), 854x480
21:12:55.948 INFO : Binary merging...
21:12:58.933 INFO : Decrypting...
21:13:14.023 INFO : Start downloading...Aud 0 | 102 Kbps | mp4a.40.2 | en | 2CH
21:13:14.134 WARN : Type: cenc
21:13:14.142 WARN : PSSH(WV): EhAAAAAAZNqOyboWMYHOszSMEhAAAAAAZNqOyboWMYHOszSOSO PclZsG
21:13:14.147 WARN : KID: 0000000064da8ec9ba163181ceb3348e
21:13:14.151 WARN : Reading media info...
21:13:17.619 INFO : [0x1]: Audio, aac (mp4a)
21:15:10.466 INFO : Binary merging...
21:15:11.758 INFO : Decrypting...
21:15:13.659 INFO : Start downloading...Aud 3 | 102 Kbps | mp4a.40.2 | en | 2CH
21:15:13.889 WARN : Type: cenc
21:15:13.893 WARN : PSSH(WV): EhAAAAAAZNqOyboWMYHOszSMEhAAAAAAZNqOyboWMYHOszSOSO PclZsG
21:15:13.899 WARN : KID: 0000000064da8ec9ba163181ceb3348e
21:15:13.904 WARN : Reading media info...
21:15:13.967 INFO : [0x1]: Audio, aac (mp4a)
21:17:04.182 WARN : xxx.en.m4a => xxx.en.copy.m4a
21:17:04.186 INFO : Binary merging...
21:17:06.252 INFO : Decrypting...
21:17:08.232 INFO : Start downloading...Sub 1 | en | wvtt
21:17:08.352 WARN : Reading media info...
21:17:08.591 INFO : [0x1]: Data, none (wvtt) (default)
21:17:48.427 WARN : Extracting VTT(mp4) subtitle...
21:17:49.665 INFO : Binary merging...
21:17:49.676 WARN : xxx.mp4
21:17:49.677 WARN : xxx.en.m4a
21:17:49.678 WARN : xxx.en.copy.m4a
21:17:49.680 WARN : xxx.en.srt
21:17:49.681 WARN : Muxing to xxx.MUX.mp4
21:17:56.004 WARN : Cleaning files...
21:17:56.132 WARN : Rename to xxx.mp4
21:17:56.367 INFO : Done
https://forum.videohelp.com/threads/411643-Freevine-A-downloader-for-free-streaming-se...e9#post2711638
I did some additional experimenting and tried the download with the audio labled Cenc 3 and that is the regular audio not the descriptive audio. A bonus I suppose to all this that I get the file size I want and don't have to encode down from a larger file.
If you are batch encoding some huge files down to a lower resolution and kbs with VidCoder, learn this lesson from me go into the Picker setting to make sure you keep your subtitles in batch encode. What can happen if you don't do that is your first in the list keeps the subtitles and the rest don't.Last edited by Tom Saurus; 13th Nov 2023 at 22:00.
-
I have been getting this error with a couple of tv shows off BBC iplayer, any help please
File "D:\Freevine\freevine.py", line 66, in <module>
main()
File "C:\Users\******\AppData\Roaming\Python\Python310\ site-packages\click\core.py", line 1157, in __call__
return self.main(*args, **kwargs)
File "C:\Users\******\AppData\Roaming\Python\Python310\ site-packages\click\core.py", line 1078, in main
rv = self.invoke(ctx)
File "C:\Users\******\AppData\Roaming\Python\Python310\ site-packages\click\core.py", line 1434, in invoke
return ctx.invoke(self.callback, **ctx.params)
File "C:\Users\******\AppData\Roaming\Python\Python310\ site-packages\click\core.py", line 783, in invoke
return __callback(*args, **kwargs)
File "D:\Freevine\freevine.py", line 60, in main
Service(main_config, srvc_api, srvc_config, wvd, **kwargs)
File "D:\Freevine\services\bbciplayer\bbciplayer.py ", line 47, in __init__
self.get_options()
File "D:\Freevine\services\bbciplayer\bbciplayer.py ", line 313, in get_options
content, title = self.get_content(self.url)
File "D:\Freevine\services\bbciplayer\bbciplayer.py ", line 256, in get_content
content = self.get_series(pid)
File "D:\Freevine\services\bbciplayer\bbciplayer.py ", line 104, in get_series
episodes = [
File "D:\Freevine\services\bbciplayer\bbciplayer.py ", line 105, in <listcomp>
self.create_episode(episode)
File "D:\Freevine\services\bbciplayer\bbciplayer.py ", line 68, in create_episode
label = episode["episode"]["labels"].get("category")
AttributeError: 'NoneType' object has no attribute 'get'
Similar Threads
-
UK Free to Air Downloader
By A_n_g_e_l_a in forum Video Streaming DownloadingReplies: 545Last Post: 15th Oct 2024, 12:54 -
Video/Screenshot Guide to Freevine/N_m3u8DL-RE downloader for MacOS
By gwilliams1996 in forum Video Streaming DownloadingReplies: 16Last Post: 15th May 2024, 06:14 -
Forcing quality on streaming services
By qnufc in forum Video Streaming DownloadingReplies: 10Last Post: 8th Mar 2024, 17:27 -
Are we going to see all streaming services switching to L1 completely
By Loryanam2 in forum Video Streaming DownloadingReplies: 7Last Post: 5th Mar 2023, 07:37 -
Portable Streaming DownLoader for XMovies8?
By KermitJ in forum Video Streaming DownloadingReplies: 0Last Post: 27th Sep 2019, 10:44