I am getting an error when trying to download this from the BBC. I think it may be the way they structure the episodes for the big cases.
Code:python3 freevine.py get --episode https://www.bbc.co.uk/iplayer/episode/m001w97n/the-big-cases-killed-in-the-park
I can get a list of episodes, but when I run the above I get:
Freevine is up to date with git. Any Ideas?Code:❯_freevine v1.1.7 14:08:38.126 INFO : BBC iPlayer Traceback (most recent call last): File "/mnt/Edrive/portable/freevine/freevine.py", line 15, in <module> cli() File "/home/personal/.local/lib/python3.10/site-packages/click/core.py", line 1157, in __call__ return self.main(*args, **kwargs) File "/home/personal/.local/lib/python3.10/site-packages/click/core.py", line 1078, in main rv = self.invoke(ctx) File "/home/personal/.local/lib/python3.10/site-packages/click/core.py", line 1688, in invoke return _process_result(sub_ctx.command.invoke(sub_ctx)) File "/home/personal/.local/lib/python3.10/site-packages/click/core.py", line 1434, in invoke return ctx.invoke(self.callback, **ctx.params) File "/home/personal/.local/lib/python3.10/site-packages/click/core.py", line 783, in invoke return __callback(*args, **kwargs) File "/mnt/Edrive/portable/freevine/utils/commands.py", line 90, in get Service(config, **kwargs) File "/mnt/Edrive/portable/freevine/services/bbciplayer/bbciplayer.py", line 51, in __init__ self.get_options() File "/mnt/Edrive/portable/freevine/services/bbciplayer/bbciplayer.py", line 368, in get_options self.download(download, title) File "/mnt/Edrive/portable/freevine/services/bbciplayer/bbciplayer.py", line 371, in download manifest, subtitle = self.get_playlist(stream.id) File "/mnt/Edrive/portable/freevine/services/bbciplayer/bbciplayer.py", line 206, in get_playlist return self.get_streams(media) File "/mnt/Edrive/portable/freevine/services/bbciplayer/bbciplayer.py", line 165, in get_streams return manifest, subtitle UnboundLocalError: local variable 'subtitle' referenced before assignment
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 961 to 990 of 1611
-
-
-
-
Hey Stabbed,
Have you ever considered adding XUMO at all?
They got quite a good selection of free to air content also. -
I've taken a little break from adding new services at the moment to work on other projects, but I'll add it to the list of sites to check out.
-
-
-
Trying to download this from iplayer, but it looks like there is something on the subtitles that is different (other iplayer URLs are working perfectly) - any tricks? I tried with and without the drop option.
Code:python freevine.py get --drop-subtitle --select-video res=540 --episode https://www.bbc.co.uk/iplayer/episode/p0h80b23/africa-cup-of-nations-2024-afcon-qf-mini-highlights-mali-v-ivory-coast
Code:❯_freevine v1.1.7 08:43:51.519 INFO : BBC iPlayer 08:43:51.519 INFO : + Adding service profile Traceback (most recent call last): File "/home/mkjustuk/freevine/freevine.py", line 15, in <module> cli() File "/usr/local/lib/python3.11/dist-packages/click/core.py", line 1157, in __call__ return self.main(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.11/dist-packages/click/core.py", line 1078, in main rv = self.invoke(ctx) ^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.11/dist-packages/click/core.py", line 1688, in invoke return _process_result(sub_ctx.command.invoke(sub_ctx)) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.11/dist-packages/click/core.py", line 1434, in invoke return ctx.invoke(self.callback, **ctx.params) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.11/dist-packages/click/core.py", line 783, in invoke return __callback(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/mkjustuk/freevine/utils/commands.py", line 90, in get Service(config, **kwargs) File "/home/mkjustuk/freevine/services/bbciplayer/bbciplayer.py", line 51, in __init__ self.get_options() File "/home/mkjustuk/freevine/services/bbciplayer/bbciplayer.py", line 368, in get_options self.download(download, title) File "/home/mkjustuk/freevine/services/bbciplayer/bbciplayer.py", line 371, in download manifest, subtitle = self.get_playlist(stream.id) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/mkjustuk/freevine/services/bbciplayer/bbciplayer.py", line 206, in get_playlist return self.get_streams(media) ^^^^^^^^^^^^^^^^^^^^^^^ File "/home/mkjustuk/freevine/services/bbciplayer/bbciplayer.py", line 165, in get_streams return manifest, subtitle ^^^^^^^^ UnboundLocalError: cannot access local variable 'subtitle' where it is not associated with a value
-
@mkjustuk:
It's been fixed in the latest commit. Fetch updates and it should work as expected. -
-
ok so rocking windows and geting the source code in the realese is not the most up to date version? .... are you able to get " git clone https://github.com/stabbedbybrick/freevine.git freevine' to work in windows I was unsuccessful
-
The releases are static and only contain code up to the point of release. They're mostly a way to get a sense of structure and to inform users of major changes.
Cloning the repository allows you to pull updates as they roll out without having to wait for the next version. Git works on all systems and can be used as CLI or with Github Desktop or similar GUIs. -
If you're struggling to get git cloning working try my script:
https://forum.videohelp.com/threads/411643-Freevine-A-downloader-for-free-streaming-se...30#post2721902 -
-
can you use all4 with no proxy if ... or is there and option to not call for a proxy if coming from vpned to the country in question .... seems like the error is asking for a proxy when I feel like i didnt use to need one , when all my traffic was directed through a vpn
Code:raise IndexError("A proxy client must be set in config file") IndexError: A proxy client must be set in config file
-
I *believe* that it'll only try to use a proxy for All4 if it fails without one. The issue is probably that your VPN server is marked as such by All4, so it's denying the request.
-
If you look at the logs leading up to the error, you'll see that your original request failed and it attempted to fetch a proxy as a secondary measure. It won't look for a proxy as long as the initial request is successful unless specifically called. It's highly recommended to set one up, though, because Channel4 has tightened things up considerably and you will hit a limit sooner or later.
-
-
I'm having trouble with cwtv (US), specifically certains episodes of Blue Mountain State, e.g. ep 1.02:
Code:freevine.py get --episode s01e02 https://www.cwtv.com/shows/blue-mountain-state
Code:HTTPError: 404 Client Error: Not Found for url: https://stream-hls.cwtv.com/nosec/The_CW/585/65/148788805680/1663620560273-drm-desktop-BlueMountainState-102-PromiseRing-wAdBreaks_148789829678_mp4_video_1920x1080_8000000_primary_audio_eng_8.mpd
Code:Client Error: Not Found for url: https://stream-hls.cwtv.com/nosec/The_CW/945/425/149166661907/1663996191542-drm-desktop-BlueMountainState-203-BornAgain-wAdBreaks-SWAP1_149167685756_mp4_video_480x270_400000_primary_audio_eng_2.mpd
Bonus problem: The Hunger (1.16 only; Plex UK)
Code:freevine.py get --episode s01e16 https://watch.plex.tv/show/the-hunger
Any help much appreciated! -
Can confirm, same thing happens to me on both eps of BMS.
I get the same error on the episode of The Hunger, but there are other eps with apostrophes:
Code:18:45:23.035 INFO : The Hunger S01E11 I'm Dangerous Tonight 18:45:23.036 INFO : The Hunger S01E16 A River of Night's Dreaming 18:45:23.038 INFO : The Hunger S02E13 I'm Very Dangerous Tonight
-
Have you tried playing those episodes via browser? they dont work for me, i get the same 404 error as the script, so its not a script issue, its a cwtv issue.
this looks to be a metadata issue on plex's side.
a working episode has this in the mpd manifest
Code:<Representation bandwidth="5151915" codecs="avc1.4d401f" height="720" id="3" mimeType="video/mp4" sar="1:1" width="1280">
Code:<Representation bandwidth="2411112" codecs="avc1.4d401f" id="3" mimeType="video/mp4" sar="1:1">
the issue can be worked around for this episode by hardcoding the heights variable to 720 if not found, but its a bit hacky and if its an isolated issue, then maybe its not worth implementing.Last edited by ElCap; 9th Feb 2024 at 17:46.
-
ElCap, thank you very much, using that hack workaround (plex.py, ~ line 200) I managed to download the Hunger episode by returning 720. Now if only Plex would find the missing few eps from that collection, before I dig out my old DVDs from storage...
As for the cwtv eps, it wasn't working in my browser but I thought it was an adblock/geo issue. There's at least one s3 ep that has the same problem. What sort of flimflam service are they operating? loledit: I see the series is also on Plex
Last edited by PhilipG; 10th Feb 2024 at 04:56.
-
Thanks again for all of your hard work stabbedbybrick.
UKTV seemed to have updated a few things on their site and this is no longer working. -
Still works for me ?
08:00:22.466 INFO : UKTV Play
08:00:23.083 INFO : Signora Volpe: 1 Season(s), 3 Episode(s)
08:00:24.513 INFO : Signora Volpe S01E01 An Anxious Aunt
08:00:24.513 INFO : 816ba7ed0de84eb4a7b350dbb287140e:c7c13bd83136df01a e0b9532633d3302
08:00:25.722 INFO : N_m3u8DL-RE (Beta version) 20230628
08:00:25.742 INFO : Loading URL: http://manifest.prod.boltdns.net/manifest/v1/dash/live-baseurl/bccenc/1242911124001/df...M0M2MyMQ%3D%3D
08:00:26.068 INFO : Content Matched: Dynamic Adaptive Streaming over HTTP
08:00:26.069 INFO : Parsing streams...
08:00:26.216 WARN : Writing meta json
08:00:26.273 INFO : Extracted, there are 10 streams, with 6 basic streams, 3 audio streams, 1 subtitle streams
08:00:26.274 INFO : Vid *CENC 1920x1080 | 4128 Kbps | 8ba7b67b-e87c-4057-bed4-716e92bff6d3 | 25 | avc1.640028 | 884
Segments | ~01h28m24s
08:00:26.274 INFO : Vid *CENC 1600x900 | 2130 Kbps | f7f0a007-8e08-4240-bc65-c56cc4bb6d58 | 25 | avc1.640028 | 884
Segments | ~01h28m24s
08:00:26.274 INFO : Vid *CENC 1280x720 | 1214 Kbps | 4cf4d25d-7c8a-4ac7-ad1a-d3775958bb3b | 25 | avc1.4d001f | 884
Segments | ~01h28m24s
08:00:26.274 INFO : Vid *CENC 1024x576 | 806 Kbps | 55756177-fec9-4980-ab44-226ec447678e | 25 | avc1.4d001f | 884
Segments | ~01h28m24s
08:00:26.275 INFO : Vid *CENC 640x360 | 429 Kbps | 5de0a99b-6e4f-4e1b-bc95-3e0be738f4b8 | 25 | avc1.4d001e | 884
Segments | ~01h28m24s
08:00:26.275 INFO : Vid *CENC 384x216 | 221 Kbps | c8f9c3ae-16e4-433e-adb8-2352f73448a0 | 25 | avc1.42000d | 884
Segments | ~01h28m24s
08:00:26.275 INFO : Aud *CENC ca58c14c-090f-4c27-a40b-3755ceb90331 | 192 Kbps | mp4a.40.2 | en | 891 Segments |
~01h28m23s
08:00:26.276 INFO : Aud *CENC c84408de-55cb-4f77-9af0-5eb3feab68a4 | 122 Kbps | mp4a.40.2 | en | 891 Segments |
~01h28m23s
08:00:26.276 INFO : Aud *CENC c18b582c-4191-408f-9a1a-fa3cf53e5d32 | 96 Kbps | mp4a.40.2 | en | 891 Segments |
~01h28m23s -
Weird, I get the below. This was working fine 7 days ago and other services are still okay.
I tested with Python 3.1.2 also but the same problem.
I've managed to get what I need manually for now using my old method but Freevine makes life easier.
Code:❯_freevine v1.1.7 08:37:52.496 ←[4m←[32mINFO←[0m : ←[1mUKTV Play←[0m 08:37:52.496 ←[4m←[32mINFO←[0m : + Adding service profile Traceback (most recent call last): File "C:\PATHEDITED\freevine-main\freevine.py", line 15, in <module> cli() File "C:\PATHEDITED\AppData\Local\Programs\Python\Python310\lib\site-packages\click\core.py", line 1157, in __call__ return self.main(*args, **kwargs) File "C:\PATHEDITED\AppData\Local\Programs\Python\Python310\lib\site-packages\click\core.py", line 1078, in main rv = self.invoke(ctx) File "C:\PATHEDITED\AppData\Local\Programs\Python\Python310\lib\site-packages\click\core.py", line 1688, in invoke return _process_result(sub_ctx.command.invoke(sub_ctx)) File "C:\PATHEDITED\AppData\Local\Programs\Python\Python310\lib\site-packages\click\core.py", line 1434, in invoke return ctx.invoke(self.callback, **ctx.params) File "C:\PATHEDITED\AppData\Local\Programs\Python\Python310\lib\site-packages\click\core.py", line 783, in invoke return __callback(*args, **kwargs) File "C:\PATHEDITED\freevine-main\utils\commands.py", line 90, in get Service(config, **kwargs) File "C:\PATHEDITED\freevine-main\services\uktvplay\uktvplay.py", line 51, in __init__ self.get_options() File "C:\PATHEDITED\freevine-main\services\uktvplay\uktvplay.py", line 199, in get_options downloads, title = get_downloads(self) File "C:\PATHEDITED\freevine-main\utils\options.py", line 160, in get_downloads downloads, title = stream.get_episode_from_url(stream.episode) File "C:\PATHEDITED\freevine-main\services\uktvplay\uktvplay.py", line 172, in get_episode_from_url house_number = re.search(r'house_number="(.+?)"', html).group(1) AttributeError: 'NoneType' object has no attribute 'group'
Last edited by coltseavers; 10th Feb 2024 at 04:12.
-
It's been fixed in the latest commit. They made a small change to their source code which made downloading by episode URLs to fail, but everything should be working now.
The standard download method, "-e s01e01 URL", was never broken, though. Just something to keep in mind for the future.
Similar Threads
-
UK Free to Air Downloader
By A_n_g_e_l_a in forum Video Streaming DownloadingReplies: 610Last Post: 13th Jun 2025, 16:34 -
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