VideoHelp Forum



Support our site by donate $5 directly to us Thanks!!!

Try StreamFab Downloader and download streaming video from Netflix, Amazon!



+ Reply to Thread
Page 32 of 54
FirstFirst ... 22 30 31 32 33 34 42 ... LastLast
Results 931 to 960 of 1612
  1. I just went to test that Car SOS episode, and I can't download it.

    I'm in the UK. I can watch All4 via the website and the Android app just fine. Freevine was downloading from All4 a week or two ago, but not now.

    Code:
    # python freevine.py get -e S11E01 https://www.channel4.com/programmes/car-sos
    
    ❯_freevine v1.1.7
    
    13:10:41.333 INFO : ALL4
    13:10:41.333 INFO : + Adding service profile
    13:10:41.339 INFO : Using cached tokens
    13:10:41.621 INFO : Car S.O.S: 1 Season(s), 2 Episode(s)
    
    13:10:41.758 WARNING : Request for video returned <Response [403]>, attempting proxy request...
    Traceback (most recent call last):
      File "/mounts/network/freevine/freevine/freevine.py", line 15, in <module>
        cli()
      File "/root/.pyenv/versions/3.12.1/lib/python3.12/site-packages/click/core.py", line 1157, in __call__
        return self.main(*args, **kwargs)
               ^^^^^^^^^^^^^^^^^^^^^^^^^^
      File "/root/.pyenv/versions/3.12.1/lib/python3.12/site-packages/click/core.py", line 1078, in main
        rv = self.invoke(ctx)
             ^^^^^^^^^^^^^^^^
      File "/root/.pyenv/versions/3.12.1/lib/python3.12/site-packages/click/core.py", line 1688, in invoke
        return _process_result(sub_ctx.command.invoke(sub_ctx))
                               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
      File "/root/.pyenv/versions/3.12.1/lib/python3.12/site-packages/click/core.py", line 1434, in invoke
        return ctx.invoke(self.callback, **ctx.params)
               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
      File "/root/.pyenv/versions/3.12.1/lib/python3.12/site-packages/click/core.py", line 783, in invoke
        return __callback(*args, **kwargs)
               ^^^^^^^^^^^^^^^^^^^^^^^^^^^
      File "/mounts/network/freevine/freevine/utils/commands.py", line 90, in get
        Service(config, **kwargs)
      File "/mounts/network/freevine/freevine/services/channel4/channel4.py", line 70, in __init__
        self.get_options()
      File "/mounts/network/freevine/freevine/services/channel4/channel4.py", line 417, in get_options
        self.download(download, title, bearer)
      File "/mounts/network/freevine/freevine/services/channel4/channel4.py", line 420, in download
        self.res, manifest, token, subtitle = self.get_mediainfo(
                                              ^^^^^^^^^^^^^^^^^^^
      File "/mounts/network/freevine/freevine/services/channel4/channel4.py", line 332, in get_mediainfo
        manifest, token = self.android_playlist(video_id, bearer, quality)
                          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
      File "/mounts/network/freevine/freevine/services/channel4/channel4.py", line 278, in android_playlist
        raise ConnectionError(f"{r.text}")
    ConnectionError:
                {
                    "errorCode": 460,
                    "error": "invalid_access_token",
                    "errorMessage": "The access token is invalid.",
                    "type": "authorization"
                }
    I've tried it on a different machine, on a different IP address (which also works fine with All4), and it just gives that error code each time.
    Quote Quote  
  2. Hi,

    I have recently started using Freevine and I have been able to get Channel5, STV and Channel4 all working fine. However, I was trying to see if I could get Plex working and I cannot get it to work. I am on the latest version of Freevine, is there something else I need to do to get Plex to work?

    Code:
    D:\Downloads\DL Software\Freevine\freevine>freevine.py get --movie https://watch.plex.tv/movie/drive-2011
    
    ❯_freevine v1.1.7
    
    14:10:03.478 ←[4m←[32mINFO←[0m : ←[1mPlex←[0m
    14:10:03.479 ←[4m←[32mINFO←[0m : + Adding service profile
    14:10:03.480 ←[4m←[32mINFO←[0m : + Adding cookie data
    Traceback (most recent call last):
      File "D:\Downloads\DL Software\Freevine\freevine\freevine.py", line 15, in <module>
        cli()
      File "C:\Users\xxxxxx\AppData\Local\Programs\Python\Python312\Lib\site-packages\click\core.py", line 1157, in __call__
        return self.main(*args, **kwargs)
               ^^^^^^^^^^^^^^^^^^^^^^^^^^
      File "C:\Users\xxxxxx\AppData\Local\Programs\Python\Python312\Lib\site-packages\click\core.py", line 1078, in main
        rv = self.invoke(ctx)
             ^^^^^^^^^^^^^^^^
      File "C:\Users\xxxxxx\AppData\Local\Programs\Python\Python312\Lib\site-packages\click\core.py", line 1688, in invoke
        return _process_result(sub_ctx.command.invoke(sub_ctx))
                               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
      File "C:\Users\xxxxxx\AppData\Local\Programs\Python\Python312\Lib\site-packages\click\core.py", line 1434, in invoke
        return ctx.invoke(self.callback, **ctx.params)
               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
      File "C:\Users\xxxxxx\AppData\Local\Programs\Python\Python312\Lib\site-packages\click\core.py", line 783, in invoke
        return __callback(*args, **kwargs)
               ^^^^^^^^^^^^^^^^^^^^^^^^^^^
      File "D:\Downloads\DL Software\Freevine\freevine\utils\commands.py", line 90, in get
        Service(config, **kwargs)
      File "D:\Downloads\DL Software\Freevine\freevine\services\plex\plex.py", line 66, in __init__
        self.get_options()
      File "D:\Downloads\DL Software\Freevine\freevine\services\plex\plex.py", line 242, in get_options
        downloads, title = get_downloads(self)
                           ^^^^^^^^^^^^^^^^^^^
      File "D:\Downloads\DL Software\Freevine\freevine\utils\options.py", line 163, in get_downloads
        content, title = stream.get_content(stream.url)
                         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
      File "D:\Downloads\DL Software\Freevine\freevine\services\plex\plex.py", line 218, in get_content
        content = self.get_movies(self.url)
                  ^^^^^^^^^^^^^^^^^^^^^^^^^
      File "D:\Downloads\DL Software\Freevine\freevine\services\plex\plex.py", line 166, in get_movies
        data=next(
             ^^^^^
      File "D:\Downloads\DL Software\Freevine\freevine\services\plex\plex.py", line 167, in <genexpr>
        x["url"] for x in movie["Media"] if x.get("protocol") == "dash"
        ~^^^^^^^
    KeyError: 'url'
    Quote Quote  
  3. Member
    Join Date
    Dec 2021
    Location
    england
    Search Comp PM
    Originally Posted by SB47x View Post
    I just went to test that Car SOS episode, and I can't download it.

    I'm in the UK. I can watch All4 via the website and the Android app just fine. Freevine was downloading from All4 a week or two ago, but not now.

    Code:
    # python freevine.py get -e S11E01 https://www.channel4.com/programmes/car-sos
    
    ❯_freevine v1.1.7
    
    13:10:41.333 INFO : ALL4
    13:10:41.333 INFO : + Adding service profile
    13:10:41.339 INFO : Using cached tokens
    13:10:41.621 INFO : Car S.O.S: 1 Season(s), 2 Episode(s)
    
    13:10:41.758 WARNING : Request for video returned <Response [403]>, attempting proxy request...
    Traceback (most recent call last):
      File "/mounts/network/freevine/freevine/freevine.py", line 15, in <module>
        cli()
      File "/root/.pyenv/versions/3.12.1/lib/python3.12/site-packages/click/core.py", line 1157, in __call__
        return self.main(*args, **kwargs)
               ^^^^^^^^^^^^^^^^^^^^^^^^^^
      File "/root/.pyenv/versions/3.12.1/lib/python3.12/site-packages/click/core.py", line 1078, in main
        rv = self.invoke(ctx)
             ^^^^^^^^^^^^^^^^
      File "/root/.pyenv/versions/3.12.1/lib/python3.12/site-packages/click/core.py", line 1688, in invoke
        return _process_result(sub_ctx.command.invoke(sub_ctx))
                               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
      File "/root/.pyenv/versions/3.12.1/lib/python3.12/site-packages/click/core.py", line 1434, in invoke
        return ctx.invoke(self.callback, **ctx.params)
               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
      File "/root/.pyenv/versions/3.12.1/lib/python3.12/site-packages/click/core.py", line 783, in invoke
        return __callback(*args, **kwargs)
               ^^^^^^^^^^^^^^^^^^^^^^^^^^^
      File "/mounts/network/freevine/freevine/utils/commands.py", line 90, in get
        Service(config, **kwargs)
      File "/mounts/network/freevine/freevine/services/channel4/channel4.py", line 70, in __init__
        self.get_options()
      File "/mounts/network/freevine/freevine/services/channel4/channel4.py", line 417, in get_options
        self.download(download, title, bearer)
      File "/mounts/network/freevine/freevine/services/channel4/channel4.py", line 420, in download
        self.res, manifest, token, subtitle = self.get_mediainfo(
                                              ^^^^^^^^^^^^^^^^^^^
      File "/mounts/network/freevine/freevine/services/channel4/channel4.py", line 332, in get_mediainfo
        manifest, token = self.android_playlist(video_id, bearer, quality)
                          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
      File "/mounts/network/freevine/freevine/services/channel4/channel4.py", line 278, in android_playlist
        raise ConnectionError(f"{r.text}")
    ConnectionError:
                {
                    "errorCode": 460,
                    "error": "invalid_access_token",
                    "errorMessage": "The access token is invalid.",
                    "type": "authorization"
                }
    I've tried it on a different machine, on a different IP address (which also works fine with All4), and it just gives that error code each time.
    work fine. try login and password again, if not try different email. im on v1.1.5
    Code:
    15:01:51.181 INFO : N_m3u8DL-RE (Beta version) 20230628
    15:01:51.191 INFO : Loading URL: https://cf.jos.c4assets.com/CH4_44_7_900_75728003001003_002/CH4_44_7_900_75728003001003_002_J01.ism/stream.mpd?c3.ri=13640941074061102064&mpd_segment_template=time&filter=%28type%3D%3D%22video%22%26%26%28%28DisplayHeight%3E%3D288%29%26%26%28systemBitrate%3C4800000%29%29%29%7C%7Ctype%21%3D%22video%22&ts=1706713310&e=600&st=JY68OwRwXrVjVHwsiQsVdYwPlTDXrvvxwN9xLDn0i_E
    15:01:51.330 INFO : Content Matched: Dynamic Adaptive Streaming over HTTP
    15:01:51.331 INFO : Parsing streams...
    15:01:51.357 WARN : Writing meta json
    15:01:51.361 INFO : Extracted, there are 9 streams, with 7 basic streams, 2 audio streams, 0 subtitle streams
    15:01:51.361 INFO : Vid *CENC 1920x1080 | 3006 Kbps | video=3006747 | avc1.640029 | 443 Segments | ~44m13s
    15:01:51.361 INFO : Vid *CENC 1280x720 | 2004 Kbps | video=2004080 | avc1.640029 | 443 Segments | ~44m13s
    15:01:51.361 INFO : Vid *CENC 1024x576 | 1502 Kbps | video=1502964 | avc1.640029 | 443 Segments | ~44m13s
    15:01:51.361 INFO : Vid *CENC 1024x576 | 1202 Kbps | video=1202283 | avc1.640029 | 443 Segments | ~44m13s
    15:01:51.362 INFO : Vid *CENC 640x360 | 1001 Kbps | video=1001981 | avc1.640029 | 443 Segments | ~44m13s
    15:01:51.362 INFO : Vid *CENC 640x360 | 801 Kbps | video=801363 | avc1.4D401F | 443 Segments | ~44m13s
    15:01:51.362 INFO : Vid *CENC 512x288 | 500 Kbps | video=500635 | avc1.42C01F | 443 Segments | ~44m13s
    15:01:51.362 INFO : Aud *CENC audio=128000 | 128 Kbps | mp4a.40.2 | 2CH | 443 Segments | ~44m13s
    15:01:51.362 INFO : Aud *CENC audio_eng=128000 | 128 Kbps | mp4a.40.2 | en | 2CH | 443 Segments | ~44m13s
    15:01:51.362 INFO : Parsing streams...
    15:01:51.364 INFO : Selected streams:
    15:01:51.364 INFO : Vid *CENC 1920x1080 | 3006 Kbps | video=3006747 | avc1.640029 | 443 Segments | ~44m13s
    15:01:51.364 INFO : Aud *CENC audio=128000 | 128 Kbps | mp4a.40.2 | 2CH | 443 Segments | ~44m13s
    15:01:51.364 WARN : Writing meta json
    15:01:51.376 INFO : Save Name: Car.S.O.S.S11E01.Riley.RMF.1080p.ALL4.WEB-DL.AAC2.0.H.264
    15:01:51.376 WARN : MuxAfterDone is detected, binary merging is automatically enabled
    15:01:51.378 INFO : Start downloading...Vid 1920x1080 | 3006 Kbps | video=3006747 | avc1.
    Edit: i have update v1.1.7 they are working fine

    @SaLTy

    same as me fail on v1.1.5 and v1.1.7
    Last edited by iamghost; 31st Jan 2024 at 09:14.
    Quote Quote  
  4. Originally Posted by SB47x View Post
    I just went to test that Car SOS episode, and I can't download it.

    I'm in the UK. I can watch All4 via the website and the Android app just fine. Freevine was downloading from All4 a week or two ago, but not now.

    Code:
    # python freevine.py get -e S11E01 https://www.channel4.com/programmes/car-sos
    
    ❯_freevine v1.1.7
    
    13:10:41.758 WARNING : Request for video returned <Response [403]>, attempting proxy request...
    I've tried it on a different machine, on a different IP address (which also works fine with All4), and it just gives that error code each time.
    A [403] means you're getting blocked, and there's not much I can do about it. And just because it works in browser or app, doesn't guarantee it'll work here since they access different points. It works fine on my end with --proxy or VPN.

    The invalid access token in this case is a proper bug, though. When you get a bad request it tries to fetch a new proxy, and it accidentally drops the token along the way. It doesn't solve your initial problem, but at least it revealed a pretty glaring mistake.
    Quote Quote  
  5. Originally Posted by SaLTy View Post
    Hi,

    I have recently started using Freevine and I have been able to get Channel5, STV and Channel4 all working fine. However, I was trying to see if I could get Plex working and I cannot get it to work. I am on the latest version of Freevine, is there something else I need to do to get Plex to work?
    No, there's nothing wrong on your end. It looks like they've restructured their API within the last day or so, so both movies and shows seem to be failing. I'll take a look at it soon.
    Quote Quote  
  6. Originally Posted by stabbedbybrick View Post
    Originally Posted by SaLTy View Post
    Hi,

    I have recently started using Freevine and I have been able to get Channel5, STV and Channel4 all working fine. However, I was trying to see if I could get Plex working and I cannot get it to work. I am on the latest version of Freevine, is there something else I need to do to get Plex to work?
    No, there's nothing wrong on your end. It looks like they've restructured their API within the last day or so, so both movies and shows seem to be failing. I'll take a look at it soon.
    OK great! Thanks for confirming that I'm not doing something stupid
    Quote Quote  
  7. Plex has been fixed. Unfortunately, the new changes to their API mean that max quality is downgraded to 720p as the previous method to grab higher doesn't work anymore. You can still dig out the 1080p if you're motivated, but it's messy to automate. I might look at it some other time.
    Quote Quote  
  8. Originally Posted by stabbedbybrick View Post
    Originally Posted by SB47x View Post
    I just went to test that Car SOS episode, and I can't download it.

    I'm in the UK. I can watch All4 via the website and the Android app just fine. Freevine was downloading from All4 a week or two ago, but not now.

    Code:
    # python freevine.py get -e S11E01 https://www.channel4.com/programmes/car-sos
    
    ❯_freevine v1.1.7
    
    13:10:41.758 WARNING : Request for video returned <Response [403]>, attempting proxy request...
    I've tried it on a different machine, on a different IP address (which also works fine with All4), and it just gives that error code each time.
    A [403] means you're getting blocked, and there's not much I can do about it. And just because it works in browser or app, doesn't guarantee it'll work here since they access different points. It works fine on my end with --proxy or VPN.

    The invalid access token in this case is a proper bug, though. When you get a bad request it tries to fetch a new proxy, and it accidentally drops the token along the way. It doesn't solve your initial problem, but at least it revealed a pretty glaring mistake.
    Ah, good to know. So that particular endpoint appears to be blocking my IP address, but the web/android app have different endpoints.

    Using Hola, I get:

    Code:
    19:34:54.349 WARNING : Request for video returned <Response [500]>, attempting proxy request...
    19:34:54.349 INFO : + Adding Hola proxy location: UK
    
    ...
    
        raise ConnectionError(f"{r.text}")
    ConnectionError:
                {
                    "errorCode": 460,
                    "error": "invalid_access_token",
                    "errorMessage": "The access token is invalid.",
                    "type": "authorization"
                }
    So I guess that's being affected by the same bug, but once that bug's fixed it should work. I guess passing everything through a VPN or a proxy would also work.

    Until, of course, All4 blacklist the proxy IP address. They seem by far to be the most aggressive in rate limiting, and I guess banning IP addresses as well now. I'm probably going to code a wrapper to rotate through IP addresses and credentials to try to slow down blacklisting.

    edit: posted at the same time as you. Thanks for the quick fix, CH4 is now working fine.
    Quote Quote  
  9. I finally installed the Windows Windscribe Free VPN on my Window's computer and it works on Roku US and CWTV. I did two test downloads of an episode of "Doc" from CWTV and an episode of "Rockford Files" from Roku US. I can't figure out how to get the proxy to work for Windscribe in Freevine. I followed the directions but what do I put on the end exactly of for example:

    freevine.py get -sv res=406:for=worst -s S01 https://therokuchannel.roku.com/details/5bd052de69b651338c0db8e271a95c12/the-rockford-files

    Thanks in advance. If the proxy could do the job that would be terrific as I have already used 1 GB of that free 10 GB.
    Quote Quote  
  10. Originally Posted by stabbedbybrick View Post
    Plex has been fixed. Unfortunately, the new changes to their API mean that max quality is downgraded to 720p as the previous method to grab higher doesn't work anymore. You can still dig out the 1080p if you're motivated, but it's messy to automate. I might look at it some other time.
    I am glad this has been fixed as Plex is quite a nice free service and I tend to be content with 480p so 720p is more than enough for my liking but I do understand other people have big televisions and worse than 1080p probably doesn't look very nice on those screens.
    Quote Quote  
  11. Originally Posted by Tom Saurus View Post
    I finally installed the Windows Windscribe Free VPN on my Window's computer and it works on Roku US and CWTV. I did two test downloads of an episode of "Doc" from CWTV and an episode of "Rockford Files" from Roku US. I can't figure out how to get the proxy to work for Windscribe in Freevine. I followed the directions but what do I put on the end exactly of for example:

    freevine.py get -sv res=406:for=worst -s S01 https://therokuchannel.roku.com/details/5bd052de69b651338c0db8e271a95c12/the-rockford-files

    Thanks in advance. If the proxy could do the job that would be terrific as I have already used 1 GB of that free 10 GB.
    You need to set the proxy to windscribe in config.yaml, and set your windscribe password and username in config.yaml.

    Once that's done, specifying --proxy US when calling freevine should send only the necessary requests over the proxy.
    Quote Quote  
  12. Originally Posted by SB47x View Post
    Originally Posted by Tom Saurus View Post
    I finally installed the Windows Windscribe Free VPN on my Window's computer and it works on Roku US and CWTV. I did two test downloads of an episode of "Doc" from CWTV and an episode of "Rockford Files" from Roku US. I can't figure out how to get the proxy to work for Windscribe in Freevine. I followed the directions but what do I put on the end exactly of for example:

    freevine.py get -sv res=406:for=worst -s S01 https://therokuchannel.roku.com/details/5bd052de69b651338c0db8e271a95c12/the-rockford-files

    Thanks in advance. If the proxy could do the job that would be terrific as I have already used 1 GB of that free 10 GB.
    You need to set the proxy to windscribe in config.yaml, and set your windscribe password and username in config.yaml.

    Once that's done, specifying --proxy US when calling freevine should send only the necessary requests over the proxy.
    Thank you and I added --proxy US on the end and it seemed to accept everything then I remembered it may have to try multiple times so I made a list of the command line in Wordpad and it was probably about thirty in the list. It accepted my credentials but ultimatly it all failed as each time Roku is not available in your location.

    I had all my VPNs turned off during this process. Whether that makes a difference I don't know. Perhaps I should turn Windscribe back on use up my 9 GB before midnight. Looking over at CWTV they are frustrating when it comes to Doc they have part one of the pilot episode and not part two. Now what is the use of that.
    Quote Quote  
  13. Originally Posted by stabbedbybrick View Post
    Plex has been fixed. Unfortunately, the new changes to their API mean that max quality is downgraded to 720p as the previous method to grab higher doesn't work anymore. You can still dig out the 1080p if you're motivated, but it's messy to automate. I might look at it some other time.
    Thank you for fixing it so quick. Shame about the downgrade but it's better than it not working
    Quote Quote  
  14. Member SE14man's Avatar
    Join Date
    Jul 2005
    Location
    Queensland
    Search Comp PM
    Originally Posted by stabbedbybrick View Post
    You can still dig out the 1080p if you're motivated, but it's messy to automate.
    Hey Stabbed

    Don't suppose you'd be willing to share that method at all?

    Been trying with KODI but can't seem to find any plex add on which hosts their free movie content
    Quote Quote  
  15. @SE14man:

    Well, I suppose there are several methods. Assuming the 1080p streams are technically restricted to certain devices, the proper way to do it would be to sniff the traffic of one of those devices and then use that API in the script.

    Getting it through a regular browser is a lot more convoluted and messy. You used to be able to find a clean mpd without any attached parameters and it would contain all qualities. But now, they require a token that restricts you to whatever limitation is put on it. You'd have to find the video init that represents the 1080p stream and add it to the manifest in order to download it.

    Either way, it's a lot of work for a non-premium service.
    Quote Quote  
  16. Member SE14man's Avatar
    Join Date
    Jul 2005
    Location
    Queensland
    Search Comp PM
    Originally Posted by stabbedbybrick View Post
    @SE14man:

    Well, I suppose there are several methods. Assuming the 1080p streams are technically restricted to certain devices, the proper way to do it would be to sniff the traffic of one of those devices and then use that API in the script.

    Getting it through a regular browser is a lot more convoluted and messy. You used to be able to find a clean mpd without any attached parameters and it would contain all qualities. But now, they require a token that restricts you to whatever limitation is put on it. You'd have to find the video init that represents the 1080p stream and add it to the manifest in order to download it.

    Either way, it's a lot of work for a non-premium service.
    Yep you're right its probably not worth it then seeing as a majority of its content seems to be on roku anyway.

    Thank you for getting back
    Quote Quote  
  17. Code:
    is plex not working again seem to get a no metadata found error ...... freevine.py get --season S01 https://watch.plex.tv/show/faster-purple-worm-kill-kill/season/1   
    
    ConnectionError: metadataId not found!
    Quote Quote  
  18. Originally Posted by qruetry View Post
    Code:
    is plex not working again seem to get a no metadata found error ...... freevine.py get --season S01 https://watch.plex.tv/show/faster-purple-worm-kill-kill/season/1   
    
    ConnectionError: metadataId not found!
    It's not broken. Like it says in the instructions, you should always use the main URL of a show when requesting episodes.

    Code:
    https://watch.plex.tv/show/faster-purple-worm-kill-kill
    Quote Quote  
  19. [QUOTE=stabbedbybrick;2722305]
    Originally Posted by qruetry View Post
    Code:
    is plex not working again seem to get a no metadata found error ...... freevine.py get --season S01 https://watch.plex.tv/show/faster-purple-worm-kill-kill/season/1   
    
    ConnectionError: metadataId not found!
    It's not broken. Like it says in the instructions, you should always use the main URL of a show when requesting episodes.

    Code:
    https://watch.plex.tv/show/faster-purple-worm-kill-kill
    [/QUote

    dohhh whoops coming from pre 1.o releases rusty .......

    freevine.py get --season S01 https://watch.plex.tv/show/faster-purple-worm-kill-kill

    is my syntax still wrong ? still getting a
    x["url"]
    KeyError: 'url'
    Quote Quote  
  20. Make sure you're up to date with the main branch. Version releases will be reserved for bigger changes, and the recommended method is to clone the repository to get fixes and updates as they roll out.
    Quote Quote  
  21. Member
    Join Date
    Feb 2024
    Location
    West Midlands
    Search Comp PM
    Could someone be very kind and provide me with a quick tutorial/guide on how to download UKTV Play content. I'm using Terminal on macOS. Can PM me details if that's easier. Thanks.
    Quote Quote  
  22. Originally Posted by gwilliams1996 View Post
    Could someone be very kind and provide me with a quick tutorial/guide on how to download UKTV Play content. I'm using Terminal on macOS. Can PM me details if that's easier. Thanks.
    Same way you'd download anything else using the tool. What issues are you having?
    Quote Quote  
  23. Thanks in advance for your support & continued efforts with this amazing program.

    Occasionally (& seemingly without much reason) I get a HTTP Error: 400 when downloading from All4.
    Doesn't always happen.

    It's easy to work around by;
    - visiting the address in the error text (http://ak.dash01.stream.c4assets.com/wvmod-stream/CH4_33_05_42_37357001001003_003.mpd?...85812973612547) in a browser to download the file.
    - Then trying again with Freevine

    See log below.

    FYI:
    https://stackoverflow.com/questions/35009755/python-get-raises-httperror-400-client-er...-accessing-url


    Code:
    C:\Users\XYZ\Downloads\freevine-main\freevine-main>freevine.py get --episode S04E01 --select-video res=1024 https://www.channel4.com/programmes/teachers
    
    ❯_freevine v1.1.1
    
    15:07:08.528 [!!] : New version available! v1.1.7
    
    15:07:08.538 ←[4m←[32mINFO←[0m : ←[1mALL4←[0m
    15:07:08.538 ←[4m←[32mINFO←[0m : + Loading user profile
    15:07:08.554 ←[4m←[32mINFO←[0m : Using cached tokens
    15:07:09.578 ←[4m←[32mINFO←[0m : Teachers: 4 Season(s), 40 Episode(s)
    
    Traceback (most recent call last):
      File "C:\Users\XYZ\Downloads\freevine-main\freevine-main\freevine.py", line 15, in <module>
        cli()
      File "C:\Users\XYZ\AppData\Local\Programs\Python\Python312\Lib\site-packages\click\core.py", line 1157, in __call__
        return self.main(*args, **kwargs)
               ^^^^^^^^^^^^^^^^^^^^^^^^^^
      File "C:\Users\XYZ\AppData\Local\Programs\Python\Python312\Lib\site-packages\click\core.py", line 1078, in main
        rv = self.invoke(ctx)
             ^^^^^^^^^^^^^^^^
      File "C:\Users\XYZ\AppData\Local\Programs\Python\Python312\Lib\site-packages\click\core.py", line 1688, in invoke
        return _process_result(sub_ctx.command.invoke(sub_ctx))
                               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
      File "C:\Users\XYZ\AppData\Local\Programs\Python\Python312\Lib\site-packages\click\core.py", line 1434, in invoke
        return ctx.invoke(self.callback, **ctx.params)
               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
      File "C:\Users\XYZ\AppData\Local\Programs\Python\Python312\Lib\site-packages\click\core.py", line 783, in invoke
        return __callback(*args, **kwargs)
               ^^^^^^^^^^^^^^^^^^^^^^^^^^^
      File "C:\Users\XYZ\Downloads\freevine-main\freevine-main\utils\commands.py", line 81, in get
        Service(config, **kwargs)
      File "C:\Users\XYZ\Downloads\freevine-main\freevine-main\services\channel4\channel4.py", line 63, in __init__
        self.get_options()
      File "C:\Users\XYZ\Downloads\freevine-main\freevine-main\services\channel4\channel4.py", line 378, in get_options
        self.download(download, title, bearer)
      File "C:\Users\XYZ\Downloads\freevine-main\freevine-main\services\channel4\channel4.py", line 381, in download
        self.res, manifest, token = self.get_mediainfo(stream.id, self.quality, bearer)
                                    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
      File "C:\Users\XYZ\Downloads\freevine-main\freevine-main\services\channel4\channel4.py", line 306, in get_mediainfo
        heights, self.soup = get_heights(self.client, manifest)
                             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
      File "C:\Users\XYZ\Downloads\freevine-main\freevine-main\utils\utilities.py", line 125, in get_heights
        r.raise_for_status()
      File "C:\Users\XYZ\AppData\Local\Programs\Python\Python312\Lib\site-packages\requests\models.py", line 1021, in raise_for_status
        raise HTTPError(http_error_msg, response=self)
    requests.exceptions.HTTPError: 400 Client Error: Bad Request for url: http://ak.dash01.stream.c4assets.com/wvmod-stream/CH4_33_05_42_37357001001003_003.mpd?c3.ri=13634185812973612547
    
    C:\Users\XYZ\Downloads\freevine-main\freevine-main>freevine.py get --episode S04E01 --select-video res=1024 https://www.channel4.com/programmes/teachers
    
    ❯_freevine v1.1.1
    
    15:07:22.176 [!!] : New version available! v1.1.7
    
    15:07:22.184 ←[4m←[32mINFO←[0m : ←[1mALL4←[0m
    15:07:22.184 ←[4m←[32mINFO←[0m : + Loading user profile
    15:07:22.196 ←[4m←[32mINFO←[0m : Using cached tokens
    15:07:22.891 ←[4m←[32mINFO←[0m : Teachers: 4 Season(s), 40 Episode(s)
    
    15:07:24.572 ←[4m←[32mINFO←[0m : Teachers S04E01
    15:07:24.575 ←[4m←[32mINFO←[0m : 00000000000000000000000003360392:227a61dd16ec911b9452a51ac97a1906
    
    15:07:24.671 INFO : N_m3u8DL-RE (Beta version) 20230628
    15:07:24.685 INFO : Loading URL: tmp\manifest.mpd
    15:07:24.692 INFO : Content Matched: Dynamic Adaptive Streaming over HTTP
    15:07:24.693 INFO : Parsing streams...
    15:07:24.714 WARN : Writing meta json
    15:07:24.723 INFO : Extracted, there are 9 streams, with 7 basic streams, 1 audio streams, 1 subtitle streams
    15:07:24.723 INFO : Vid *CENC 1920x1080 | 2988 Kbps | video=2988000 | avc1.640029 | 468 Segments | ~46m45s
    15:07:24.724 INFO : Vid *CENC 1280x720 | 1992 Kbps | video=1992000 | avc1.640029 | 468 Segments | ~46m45s
    15:07:24.724 INFO : Vid *CENC 1024x576 | 1494 Kbps | video=1494000 | avc1.640029 | 468 Segments | ~46m45s
    15:07:24.724 INFO : Vid *CENC 1024x576 | 1195 Kbps | video=1195000 | avc1.640029 | 468 Segments | ~46m45s
    15:07:24.725 INFO : Vid *CENC 640x360 | 996 Kbps | video=996000 | avc1.640029 | 468 Segments | ~46m45s
    15:07:24.725 INFO : Vid *CENC 640x360 | 797 Kbps | video=797000 | avc1.4D401F | 468 Segments | ~46m45s
    15:07:24.725 INFO : Vid *CENC 512x288 | 499 Kbps | video=499000 | avc1.42C01E | 468 Segments | ~46m45s
    15:07:24.725 INFO : Aud *CENC audio=130051 | 130 Kbps | mp4a.40.2 | 2CH | 468 Segments | ~46m45s
    15:07:24.725 INFO : Sub English | 1 Segment | ~46m45s
    15:07:24.726 INFO : Parsing streams...
    15:07:24.728 INFO : Selected streams:
    15:07:24.728 INFO : Vid *CENC 1920x1080 | 2988 Kbps | video=2988000 | avc1.640029 | 468 Segments | ~46m45s
    15:07:24.729 INFO : Aud *CENC audio=130051 | 130 Kbps | mp4a.40.2 | 2CH | 468 Segments | ~46m45s
    15:07:24.729 INFO : Sub English | 1 Segment | ~46m45s
    15:07:24.729 WARN : Writing meta json
    15:07:24.732 INFO : Save Name: Teachers.S04E01.1080p.ALL4.WEB-DL.AAC2.0.H.264
    15:07:24.734 WARN : MuxAfterDone is detected, binary merging is automatically enabled
    15:07:24.735 INFO : Start downloading...Aud audio=130051 | 130 Kbps | mp4a.40.2 | 2CH
    15:07:24.735 INFO : Start downloading...Vid 1920x1080 | 2988 Kbps | video=2988000 | avc1.640029
    15:07:24.880 WARN : Type: cenc
    15:07:24.882 WARN : PSSH(WV):
    CAESEAAAAAAAAAAAAAAAAAM2A5IaCHJibWNoNHR2IiQwMDAwMDAwMC0wMDAwLTAwMDAtMDAwMC0wMDAwMDMzNjAzOTIyAA==
    15:07:24.884 WARN : KID: 00000000000000000000000003360392
    15:07:24.885 INFO : Trying to search for KEY from text file...
    15:07:24.890 INFO : OK 00000000000000000000000003360392:227a61dd16ec911b9452a51ac97a1906
    15:07:24.891 WARN : Type: cenc
    15:07:24.893 WARN : PSSH(WV):
    CAESEAAAAAAAAAAAAAAAAAM2A5IaCHJibWNoNHR2IiQwMDAwMDAwMC0wMDAwLTAwMDAtMDAwMC0wMDAwMDMzNjAzOTIyAA==
    15:07:24.894 WARN : KID: 00000000000000000000000003360392
    15:07:24.895 INFO : Trying to search for KEY from text file...
    15:07:24.891 WARN : Reading media info...
    15:07:24.895 INFO : OK 00000000000000000000000003360392:227a61dd16ec911b9452a51ac97a1906
    15:07:24.897 WARN : Reading media info...
    15:07:25.080 INFO : Start downloading...Sub English
    15:07:25.255 WARN : Reading media info...
    15:07:25.347 INFO : [0x1]: Video, h264 (avc1), 1920x1080
    15:07:25.347 INFO : NaN: Subtitle, webvtt
    15:07:25.351 INFO : [0x1]: Audio, aac (mp4a), 130 kb/s
    15:07:25.353 INFO : Binary merging...
    15:07:34.713 INFO : Binary merging...
    15:07:34.817 INFO : Decrypting...
    15:08:12.113 INFO : Binary merging...
    15:08:13.181 INFO : Decrypting...
    15:08:19.570 WARN : Teachers.S04E01.1080p.ALL4.WEB-DL.AAC2.0.H.264.mp4
    15:08:19.570 WARN : Teachers.S04E01.1080p.ALL4.WEB-DL.AAC2.0.H.264.m4a
    15:08:19.570 WARN : Muxing to Teachers.S04E01.1080p.ALL4.WEB-DL.AAC2.0.H.264.MUX.mkv
    15:08:23.102 WARN : Cleaning files...
    15:08:23.187 WARN : Rename to Teachers.S04E01.1080p.ALL4.WEB-DL.AAC2.0.H.264.mkv
    15:08:23.189 INFO : Done
    Quote Quote  
  24. Originally Posted by deleteduser View Post
    Thanks in advance for your support & continued efforts with this amazing program.
    You should always update to the latest version and see if the error persists, not fair to expect support when you're not using the latest version IMO.

    Edit: Latest version here, got 400 error, it automatically used a proxy to fix it:

    Image
    [Attachment 76726 - Click to enlarge]
    Quote Quote  
  25. ya am on lasted version was just checking i didnt have some thing wrong with my command
    Quote Quote  
  26. Originally Posted by qruetry View Post
    ya am on lasted version was just checking i didnt have some thing wrong with my command

    You're the one that posted as deleteduser? because what you posted shows "❯_freevine v1.1.1" which isn't the latest version by any means (it says new version available underneath that)
    Quote Quote  
  27. Originally Posted by Grimbarian View Post
    Originally Posted by qruetry View Post
    ya am on lasted version was just checking i didnt have some thing wrong with my command

    You're the one that posted as deleteduser? because what you posted shows "❯_freevine v1.1.1" which isn't the latest version by any means (it says new version available underneath that)
    no was posting as me from above was curious if my command was wrong / syntax

    freevine.py get --season S01 https://watch.plex.tv/show/faster-purple-worm-kill-kill

    is my syntax still wrong ? still getting a
    x["url"]
    KeyError: 'url'

    im on 1.17
    Quote Quote  
  28. Does anybody else ever get the error during ripping that says "Could not find color or style 1080p" or similar? I know this is an issue with N_m3u8-RE-DL and not freevine, but perhaps somebody else has come across it and knows how to solve it? The outcome after this error is that the audio and video don't get muxed. It seems to happen most often with CH4 streams.
    Quote Quote  
  29. Originally Posted by qruetry View Post

    freevine.py get --season S01 https://watch.plex.tv/show/faster-purple-worm-kill-kill

    is my syntax still wrong ? still getting a
    x["url"]
    KeyError: 'url'

    im on 1.17
    Like I wrote earlier, you need to be up to date with the main branch in order to get fixes and updates as they roll out. The plex issue was fixed after 1.1.7.
    Quote Quote  
  30. Member SE14man's Avatar
    Join Date
    Jul 2005
    Location
    Queensland
    Search Comp PM
    Originally Posted by AlwaysDistracted View Post
    Does anybody else ever get the error during ripping that says "Could not find color or style 1080p" or similar? I know this is an issue with N_m3u8-RE-DL and not freevine, but perhaps somebody else has come across it and knows how to solve it? The outcome after this error is that the audio and video don't get muxed. It seems to happen most often with CH4 streams.
    I usually get this when I have downloaded something, then the net dies or the download cuts off and then I download it again... its like the temporary files need deleting. After that, then after you restart the download it seems ok.
    Quote Quote  



Similar Threads

Visit our sponsor! Try DVDFab and backup Blu-rays!