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 7 of 54
FirstFirst ... 5 6 7 8 9 17 ... LastLast
Results 181 to 210 of 1599
  1. I ran some tests using python 3.9, 3.10, 3.11, 3.12 and they all work.

    It's about as much support as one can expect. There's not much more I can do.
    Quote Quote  
  2. Member
    Join Date
    Dec 2021
    Location
    england
    Search Comp PM
    work fine now after uninstall vinetrimmer stuff (i used this to get 4K from iplayer)
    Quote Quote  
  3. I tried the new version that works with CBC. It works very well. I think I will buy Mulvad VPN for a six month term and check out what I can't access now. Thank you once again stabbedbybrick for all the work you put into making this program and improving along the way.

    I have several other versions of your program on my Windows 11 computer as I got scared that I wouldn't get the new versions set up right. Now I think I should delete them all and just have the one as it seems to working just fine and even better than the previous versions were.

    I do have a couple of questions though. In the settings file how can I set it up to name the files like this:

    Name Of Show two blank spaces S01E01 two blank spaces Episode Name and nothing else after that

    Also if there is more than one bit rate available for a resolution how could one select the lower bit rate? If it can't be done it is fine though because the day may come when one can't get smaller TVs and 360p and 480p may not look to good on the larger screens.

    Thank you in advance and thanks once again for this terrific program.
    Quote Quote  
  4. Originally Posted by Tom Saurus View Post
    I tried the new version that works with CBC. It works very well. I think I will buy Mulvad VPN for a six month term and check out what I can't access now. Thank you once again stabbedbybrick for all the work you put into making this program and improving along the way.
    I wouldn't recommend Mullvad for this. It's a great VPN in terms of privacy and speeds, but not the best when it comes to being able to access streaming services in other countries, with many of their servers being actively blocked. For that purpose, I'd probably go for NordVPN or possibly Windscribe. Maybe others have more recommendations.

    Originally Posted by Tom Saurus View Post
    I do have a couple of questions though. In the settings file how can I set it up to name the files like this:

    Name Of Show two blank spaces S01E01 two blank spaces Episode Name and nothing else after that

    Also if there is more than one bit rate available for a resolution how could one select the lower bit rate? If it can't be done it is fine though because the day may come when one can't get smaller TVs and 360p and 480p may not look to good on the larger screens.

    Thank you in advance and thanks once again for this terrific program.
    You currently can't have two blank spaces. Part of the cleanup process for names is to remove characters occurring twice next to each other, including blank spaces.

    To select the lower version of a resolution, you can use this: "res=720:for=worst"
    See "N_m3u8DL-RE --morehelp --select-video" for all options.
    Quote Quote  
  5. Member
    Join Date
    Dec 2021
    Location
    Scotland
    Search Comp PM
    I've discovered an anomaly with CH5 (My5) when it comes to one-offs.

    I have a tendency initially to do
    py freevine.py -t url
    That gives me an idea of the structure that has been applied to a show (eg. S00, S01, Ep#, etc).

    I tried:
    py freevine -t https://www.channel5.com/show/the-greatest-tv-of-the-60s
    and
    py freevine -t https://www.channel5.com/show/the-greatest-tv-of-the-70-s

    Both failed pretty spectacularly.
    I tried the same with a Movie on My5. Exactly the same.

    I then used
    py freevine.py -m https://www.channel5.com/show/the-greatest-tv-of-the-60s
    and yes, it works as a Movie, even though it is not a Movie lol

    On the other UK downloaders (eg. ITVX, STV, All4, UKTV), performing -t on a Movie or one-off gives S00E00, S01E01, etc. In other words it accepts the -t (--titles) arument.

    Basically, -t (--titles) doesn't work with one-off shows on My5.
    Quote Quote  
  6. Member
    Join Date
    Dec 2022
    Location
    Lesotho
    Search Comp PM
    Originally Posted by stabbedbybrick View Post

    The selection is limited to N_m3u8DL-RE's capabilities, and it can be a little tricky. Especially with so many audio tracks. Experiment with the regex options and combinations.

    For CBC, To download both AAC normal and AAC DV, you can use this: "name=AACL:for=best2"
    Thank you, that worked beautifully.
    Quote Quote  
  7. Originally Posted by deccavox View Post
    I've discovered an anomaly with CH5 (My5) when it comes to one-offs.

    I then used
    py freevine.py -m https://www.channel5.com/show/the-greatest-tv-of-the-60s
    and yes, it works as a Movie, even though it is not a Movie lol

    Basically, -t (--titles) doesn't work with one-off shows on My5.
    It's not a movie but the structure is the same, which is why it works as one. One-off episodes on Channel 5 that completely lack seasons are "built" like movies and I lazily kinda left it at that. I'll fix it eventually, but in the meantime you should be able to download all of them if you treat them as movies.
    Quote Quote  
  8. I got an adorable message where they wanted to know if it would be possible to add ABC so that they could download all episodes of Bluey for their kids. You can't really say no to that, can you?

    So I've added ABC iView for our Australian friends. Up to 1080p and AAC audio.

    It's only on the main branch at the moment, because I'm not sure how bug free it is. Australian VPN servers are really inconsistent for some reason, so I'm having trouble testing properly.
    Quote Quote  
  9. Originally Posted by stabbedbybrick View Post
    Originally Posted by Tom Saurus View Post
    I tried the new version that works with CBC. It works very well. I think I will buy Mulvad VPN for a six month term and check out what I can't access now. Thank you once again stabbedbybrick for all the work you put into making this program and improving along the way.
    I wouldn't recommend Mullvad for this. It's a great VPN in terms of privacy and speeds, but not the best when it comes to being able to access streaming services in other countries, with many of their servers being actively blocked. For that purpose, I'd probably go for NordVPN or possibly Windscribe. Maybe others have more recommendations.

    Originally Posted by Tom Saurus View Post
    I do have a couple of questions though. In the settings file how can I set it up to name the files like this:

    Name Of Show two blank spaces S01E01 two blank spaces Episode Name and nothing else after that

    Also if there is more than one bit rate available for a resolution how could one select the lower bit rate? If it can't be done it is fine though because the day may come when one can't get smaller TVs and 360p and 480p may not look to good on the larger screens.

    Thank you in advance and thanks once again for this terrific program.
    You currently can't have two blank spaces. Part of the cleanup process for names is to remove characters occurring twice next to each other, including blank spaces.

    To select the lower version of a resolution, you can use this: "res=720:for=worst"
    See "N_m3u8DL-RE --morehelp --select-video" for all options.
    Thank you for the advice about the VPN. Thank you also for the answers to my questions. Once again this is a terrific program and thank you for all the work you have put into it.
    Quote Quote  
  10. Member
    Join Date
    Dec 2021
    Location
    england
    Search Comp PM
    wow!! more site.
    download perfect fine
    Code:
    20:29:16.582 INFO : Freevine v0.6.1-beta (20231027)
    
    20:29:16.708 INFO : ABC iView
    20:29:17.572 INFO : Annika: 2 Season(s), 7 Episode(s)
    
    20:29:23.724 INFO : Annika S01E01
    20:29:23.724 INFO : 1f567c61afea4f948212c0893938935c:56b432957ec7f66b14c0b204369ffea5
    
    20:29:33.969 INFO : N_m3u8DL-RE (Beta version) 20230628
    20:29:33.979 INFO : Loading URL: tmp\manifest.mpd
    20:29:33.980 INFO : Content Matched: Dynamic Adaptive Streaming over HTTP
    20:29:33.980 INFO : Parsing streams...
    20:29:33.982 WARN : Writing meta json
    20:29:33.987 INFO : Extracted, there are 10 streams, with 8 basic streams, 1 audio streams, 1 subtitle streams
    20:29:33.988 INFO : Vid *CENC 1920x1080 | 3968 Kbps | video-avc1-5 | avc1.640028 | 1 Segment | ~47m06s
    20:29:33.989 INFO : Vid *CENC 1280x720 | 3397 Kbps | video-avc1-3 | avc1.640028 | 1 Segment | ~47m06s
    20:29:33.990 INFO : Vid *CENC 1280x720 | 2452 Kbps | video-avc1-4 | avc1.640028 | 1 Segment | ~47m06s
    20:29:33.991 INFO : Vid *CENC 1024x576 | 1358 Kbps | video-avc1-2 | avc1.640028 | 1 Segment | ~47m06s
    20:29:33.991 INFO : Vid *CENC 800x450 | 893 Kbps | video-avc1-1 | avc1.640028 | 1 Segment | ~47m06s
    20:29:33.991 INFO : Vid *CENC 640x360 | 538 Kbps | video-avc1-7 | avc1.4D401E | 1 Segment | ~47m06s
    20:29:33.992 INFO : Vid *CENC 512x288 | 422 Kbps | video-avc1-8 | avc1.4D401E | 1 Segment | ~47m06s
    20:29:33.992 INFO : Vid *CENC 320x180 | 174 Kbps | video-avc1-6 | avc1.4D401E | 1 Segment | ~47m06s
    20:29:33.992 INFO : Aud *CENC audio-und-mp4a | 137 Kbps | mp4a.40.2 | 2CH | 1 Segment | ~47m06s
    20:29:33.993 INFO : Sub English | 1 Segment | ~47m06s
    20:29:33.993 INFO : Parsing streams...
    20:29:33.993 INFO : Selected streams:
    20:29:33.994 INFO : Vid *CENC 1920x1080 | 3968 Kbps | video-avc1-5 | avc1.640028 | 1 Segment | ~47m06s
    20:29:33.994 INFO : Aud *CENC audio-und-mp4a | 137 Kbps | mp4a.40.2 | 2CH | 1 Segment | ~47m06s
    20:29:33.994 INFO : Sub English | 1 Segment | ~47m06s
    20:29:33.994 WARN : Writing meta json
    20:29:33.995 INFO : Save Name: Annika.S01E01.1080p.iV.WEB-DL.AAC2.0.H.264
    20:29:33.995 WARN : MuxAfterDone is detected, binary merging is automatically enabled
    20:29:35.194 INFO : Start downloading...Vid 1920x1080 | 3968 Kbps | video-avc1-5 | avc1.640028
    20:29:35.229 INFO : Start downloading...Aud audio-und-mp4a | 137 Kbps | mp4a.40.2 | 2CH
    20:29:35.370 INFO : Start downloading...Sub English
    20:29:36.729 WARN : Reading media info...
    20:29:38.600 INFO : NaN: Subtitle, webvtt
    20:29:38.600 WARN : Extracting VTT(raw) subtitle...
    20:29:38.609 INFO : Binary merging...
    20:29:38.983 WARN : Type: cenc
    20:29:38.983 WARN : PSSH(WV): CAESEB9WfGGv6k+UghLAiTk4k1waC2J1eWRybWtleW9zIhCb7z+Y7lBBCKl6AXS8zaXuKgJIRA==
    20:29:38.984 WARN : KID: 1f567c61afea4f948212c0893938935c
    20:29:38.984 INFO : Trying to search for KEY from text file...
    20:29:38.985 INFO : OK 1f567c61afea4f948212c0893938935c:56b432957ec7f66b14c0b204369ffea5
    20:29:38.985 WARN : Reading media info...
    20:29:39.032 INFO : [0x1]: Video, h264 (High) (avc1), 1920x1080, 25 fps, 29 kb/s
    20:29:39.041 WARN : Type: cenc
    20:29:39.041 WARN : PSSH(WV): CAESEB9WfGGv6k+UghLAiTk4k1waC2J1eWRybWtleW9zIhAcK5NJCWZD8YZszXJeofm5KgJIRA==
    20:29:39.042 WARN : KID: 1f567c61afea4f948212c0893938935c
    20:29:39.042 INFO : Trying to search for KEY from text file...
    20:29:39.043 INFO : OK 1f567c61afea4f948212c0893938935c:56b432957ec7f66b14c0b204369ffea5
    20:29:39.043 WARN : Reading media info...
    20:29:39.126 INFO : [0x2]: Audio, aac (LC) (mp4a), 27 kb/s
    20:29:49.140 INFO : Binary merging...
    20:29:49.175 INFO : Decrypting...
    20:30:08.886 INFO : Binary merging...
    20:30:09.318 INFO : Decrypting...
    20:30:12.897 WARN : Annika.S01E01.1080p.iV.WEB-DL.AAC2.0.H.264.mp4
    20:30:12.897 WARN : Annika.S01E01.1080p.iV.WEB-DL.AAC2.0.H.264.m4a
    20:30:12.897 WARN : Annika.S01E01.1080p.iV.WEB-DL.AAC2.0.H.264.srt
    20:30:12.897 WARN : Muxing to Annika.S01E01.1080p.iV.WEB-DL.AAC2.0.H.264.MUX.mkv
    20:30:14.722 WARN : Cleaning files...
    20:30:14.777 WARN : Rename to Annika.S01E01.1080p.iV.WEB-DL.AAC2.0.H.264.mkv
    20:30:14.778 INFO : Done
    Quote Quote  
  11. Hi,
    Stumbled across this when looking for a way to download from itvx/channel4. Is there a guide anywhere on how to set this up besides the requirements list on github, as never dealt with Python before so not able to get it working.
    Thanks.

    Here is the log from when trying to get 8 Out of 10 Cats Does Countdown titles.

    Code:
    C:\Users\Eric\Downloads\freevine-main>py freevine.py -t https://www.channel4.com/programmes/8-out-of-10-cats-does-countdown
    
    23:57:52.081 INFO : Freevine v0.6.1-beta (20231027)
    
    Traceback (most recent call last):
      File "C:\Users\Eric\Downloads\freevine-main\freevine.py", line 46, in <module>
        main()
      File "C:\Users\Eric\AppData\Local\Programs\Python\Python311\Lib\site-packages\click\core.py", line 1157, in __call__
        return self.main(*args, **kwargs)
               ^^^^^^^^^^^^^^^^^^^^^^^^^^
      File "C:\Users\Eric\AppData\Local\Programs\Python\Python311\Lib\site-packages\click\core.py", line 1078, in main
        rv = self.invoke(ctx)
             ^^^^^^^^^^^^^^^^
      File "C:\Users\Eric\AppData\Local\Programs\Python\Python311\Lib\site-packages\click\core.py", line 1434, in invoke
        return ctx.invoke(self.callback, **ctx.params)
               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
      File "C:\Users\Eric\AppData\Local\Programs\Python\Python311\Lib\site-packages\click\core.py", line 783, in invoke
        return __callback(*args, **kwargs)
               ^^^^^^^^^^^^^^^^^^^^^^^^^^^
      File "C:\Users\Eric\Downloads\freevine-main\freevine.py", line 39, in main
        Service = get_service(kwargs.get("url"))
                  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
      File "C:\Users\Eric\Downloads\freevine-main\utils\services.py", line 107, in get_service
        spec.loader.exec_module(service_module)
      File "<frozen importlib._bootstrap_external>", line 940, in exec_module
      File "<frozen importlib._bootstrap>", line 241, in _call_with_frames_removed
      File "C:\Users\Eric\Downloads\freevine-main\services\channel4.py", line 39, in <module>
        from pywidevine.L3.decrypt.wvdecryptcustom import WvDecrypt
      File "C:\Users\Eric\AppData\Local\Programs\Python\Python311\Lib\site-packages\pywidevine\__init__.py", line 1, in <module>
        from .cdm import *
      File "C:\Users\Eric\AppData\Local\Programs\Python\Python311\Lib\site-packages\pywidevine\cdm.py", line 21, in <module>
        from pywidevine.device import Device
      File "C:\Users\Eric\AppData\Local\Programs\Python\Python311\Lib\site-packages\pywidevine\device.py", line 17, in <module>
        from pywidevine.license_protocol_pb2 import ClientIdentification, FileHashes, SignedDrmCertificate, DrmCertificate
      File "C:\Users\Eric\AppData\Local\Programs\Python\Python311\Lib\site-packages\pywidevine\license_protocol_pb2.py", line 5, in <module>
        from google.protobuf.internal import builder as _builder
    ImportError: cannot import name 'builder' from 'google.protobuf.internal' (C:\Users\Eric\AppData\Local\Programs\Python\Python311\Lib\site-packages\google\protobuf\internal\__init__.py)
    Last edited by Mashup; 29th Oct 2023 at 18:00.
    Quote Quote  
  12. Member
    Join Date
    Dec 2020
    Location
    Croatia
    Search PM
    Originally Posted by stabbedbybrick View Post
    I got an adorable message where they wanted to know if it would be possible to add ABC so that they could download all episodes of Bluey for their kids. You can't really say no to that, can you?

    So I've added ABC iView for our Australian friends. Up to 1080p and AAC audio.

    It's only on the main branch at the moment, because I'm not sure how bug free it is. Australian VPN servers are really inconsistent for some reason, so I'm having trouble testing properly.
    Here's a problem with the iView downloader:

    Code:
    D:\Utilities\WEB-DL-Tools\freevine-main> py .\freevine.py -c "https://iview.abc.net.au/show/games"
    
    01:05:59.366 INFO : Freevine v0.6.1-beta (20231027)
    
    01:05:59.982 INFO : ABC iView
    01:06:04.514 INFO : The Games: 2 Season(s), 26 Episode(s)
    
    Traceback (most recent call last):
      File "D:\Utilities\WEB-DL-Tools\freevine-main\freevine.py", line 46, in <module>
        main()
      File "C:\Users\User123\AppData\Roaming\Python\Python310\site-packages\click\core.py", line 1130, in __call__
        return self.main(*args, **kwargs)
      File "C:\Users\User123\AppData\Roaming\Python\Python310\site-packages\click\core.py", line 1055, in main
        rv = self.invoke(ctx)
      File "C:\Users\User123\AppData\Roaming\Python\Python310\site-packages\click\core.py", line 1404, in invoke
        return ctx.invoke(self.callback, **ctx.params)
      File "C:\Users\User123\AppData\Roaming\Python\Python310\site-packages\click\core.py", line 760, in invoke
        return __callback(*args, **kwargs)
      File "D:\Utilities\WEB-DL-Tools\freevine-main\freevine.py", line 40, in main
        Service(config, **kwargs)
      File "D:\Utilities\WEB-DL-Tools\freevine-main\services\abciview.py", line 54, in __init__
        self.get_options()
      File "D:\Utilities\WEB-DL-Tools\freevine-main\services\abciview.py", line 268, in get_options
        self.download(download, title)
      File "D:\Utilities\WEB-DL-Tools\freevine-main\services\abciview.py", line 272, in download
        manifest, subtitle = self.get_playlist(stream.id)
      File "D:\Utilities\WEB-DL-Tools\freevine-main\services\abciview.py", line 196, in get_playlist
        if streams["720"]:
    KeyError: '720'
    edit: in this file - "abciview.py", line 196, in get_playlist replace the "if streams["720"]:" with "if "720" in streams:" and it works
    Last edited by ampersand; 29th Oct 2023 at 20:00.
    Quote Quote  
  13. Originally Posted by Mashup View Post
    Hi,
    Stumbled across this when looking for a way to download from itvx/channel4. Is there a guide anywhere on how to set this up besides the requirements list on github, as never dealt with Python before so not able to get it working.
    Thanks.

    Here is the log from when trying to get 8 Out of 10 Cats Does Countdown titles.

    Code:
    C:\Users\Eric\Downloads\freevine-main>py freevine.py -t https://www.channel4.com/programmes/8-out-of-10-cats-does-countdown
    
    ImportError: cannot import name 'builder' from 'google.protobuf.internal' (C:\Users\Eric\AppData\Local\Programs\Python\Python311\Lib\site-packages\google\protobuf\internal\__init__.py)
    Make sure you're using the version of protobuf specified in requirements.txt: protobuf==3.19.5. You can see which version you have installed with "pip freeze".

    As for guide, running "py freevine.py --help" will give you a pretty detailed set of instructions. If you're brand new to Python and N_m3u8DL-RE it might take a bit of trial and error, but in the end it's basically just running the correct commands, and you've seem to figured that out already so it shouldn't be a problem for you.

    Originally Posted by ampersand
    Here's a problem with the iView downloader:
    Code:
    File "D:\Utilities\WEB-DL-Tools\freevine-main\services\abciview.py", line 196, in get_playlist
        if streams["720"]:
    KeyError: '720'
    edit: in this file - "abciview.py", line 196, in get_playlist replace the "if streams["720"]:" with "if "720" in streams:" and it works
    Ah, good catch. It should be "if streams.get("720")" to properly check if the HD key exist. I cannot tell you how many times I've made this stupid error.
    Appreciate the help!
    Quote Quote  
  14. Originally Posted by stabbedbybrick View Post
    Make sure you're using the version of protobuf specified in requirements.txt: protobuf==3.19.5. You can see which version you have installed with "pip freeze".

    As for guide, running "py freevine.py --help" will give you a pretty detailed set of instructions. If you're brand new to Python and N_m3u8DL-RE it might take a bit of trial and error, but in the end it's basically just running the correct commands, and you've seem to figured that out already so it shouldn't be a problem for you.
    I'm not completely new to Python, just been awhile so understand the basics but just can't seem to get this to work. Have all the requirements in the same folder, and sure i've got the requirements installed, including the right version as seen, just hitting the same error each time.

    Code:
    C:\Users\Eric>pip freeze
    anyio==4.0.0
    beautifulsoup4==4.12.2
    certifi==2023.7.22
    charset-normalizer==3.2.0
    click==8.1.7
    colorama==0.4.6
    construct==2.8.8
    google==3.0.0
    h11==0.14.0
    httpcore==0.18.0
    httpx==0.25.0
    idna==3.4
    lxml==4.9.3
    markdown-it-py==3.0.0
    mdurl==0.1.2
    protobuf==3.19.5
    pycryptodome==3.19.0
    pycryptodomex==3.19.0
    Pygments==2.16.1
    pymp4==1.4.0
    pyperclip==1.8.2
    pywidevine==1.6.0
    PyYAML==6.0.1
    requests==2.31.0
    rich==13.6.0
    six==1.16.0
    sniffio==1.3.0
    sortedcontainers==2.4.0
    soupsieve==2.5
    uncurl==0.0.11
    Unidecode==1.3.7
    urllib3==2.0.5
    vtt-to-srt3==0.2.0.1
    Quote Quote  
  15. Originally Posted by Mashup View Post
    I'm not completely new to Python, just been awhile so understand the basics but just can't seem to get this to work. Have all the requirements in the same folder, and sure i've got the requirements installed, including the right version as seen, just hitting the same error each time.
    Okay. I've never encountered this particular error, but based on some searching it looks like it's trying to import something (builder) that doesn't exist in this version of Protobuf.

    This workaround seem to work for others with the same issue. I'm still not sure why it's happening to begin with, but could be worth a try. Maybe some leftover cache from a previous installation?
    Quote Quote  
  16. Member
    Join Date
    Dec 2021
    Location
    england
    Search Comp PM
    @Mashup
    try pip uninstall pywidevine
    Last edited by iamghost; 30th Oct 2023 at 03:18.
    Quote Quote  
  17. I completely missed the pywidevine installation. It seems likely that the traces of the protobuf version in that package would cause a conflict with the older version.

    As a general rule, you should always run python projects in localized environments to avoid version conflicts. I should probably add it to the readme.
    Quote Quote  
  18. Member
    Join Date
    Oct 2023
    Location
    Afghanistan
    Search PM
    Originally Posted by stabbedbybrick View Post
    So I've added ABC iView for our Australian friends.
    Thank you so much for your work here. This is brilliant.

    If you get really bored and want to consider adding any other Aussie FTA networks, these are the sites

    7Plus
    https://7plus.com.au/
    SBS on Demand
    https://www.sbs.com.au/ondemand/
    9Now
    https://www.9now.com.au/
    10Play
    https://10play.com.au/

    9Now would be the one that would make my wife (and more me by extension) a happy camper.
    Quote Quote  
  19. Originally Posted by iamghost View Post
    @Mashup
    try pip uninstall pywidevine
    Originally Posted by stabbedbybrick View Post
    I completely missed the pywidevine installation. It seems likely that the traces of the protobuf version in that package would cause a conflict with the older version.

    As a general rule, you should always run python projects in localized environments to avoid version conflicts. I should probably add it to the readme.
    This was the issue, uninstalling allowed the command to go through and list all episodes.

    Now when I run the following to download.
    Code:
    py freevine.py -c https://www.channel4.com/programmes/8-out-of-10-cats-does-countdown
    It's giving me the error below;

    Code:
    no client ID blob available for this device
    Traceback (most recent call last):
      File "C:\Users\Eric\Desktop\freevine-main\freevine.py", line 46, in <module>
        main()
      File "C:\Users\Eric\AppData\Local\Programs\Python\Python311\Lib\site-packages\click\core.py", line 1157, in __call__
        return self.main(*args, **kwargs)
               ^^^^^^^^^^^^^^^^^^^^^^^^^^
      File "C:\Users\Eric\AppData\Local\Programs\Python\Python311\Lib\site-packages\click\core.py", line 1078, in main
        rv = self.invoke(ctx)
             ^^^^^^^^^^^^^^^^
      File "C:\Users\Eric\AppData\Local\Programs\Python\Python311\Lib\site-packages\click\core.py", line 1434, in invoke
        return ctx.invoke(self.callback, **ctx.params)
               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
      File "C:\Users\Eric\AppData\Local\Programs\Python\Python311\Lib\site-packages\click\core.py", line 783, in invoke
        return __callback(*args, **kwargs)
               ^^^^^^^^^^^^^^^^^^^^^^^^^^^
      File "C:\Users\Eric\Desktop\freevine-main\freevine.py", line 40, in main
        Service(config, **kwargs)
      File "C:\Users\Eric\Desktop\freevine-main\services\channel4.py", line 51, in __init__
        self.get_options()
      File "C:\Users\Eric\Desktop\freevine-main\services\channel4.py", line 306, in get_options
        self.download(download, title)
      File "C:\Users\Eric\Desktop\freevine-main\services\channel4.py", line 315, in download
        keys = self.local_cdm(pssh, license_url, manifest, token, stream.data)
               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
      File "C:\Users\Eric\Desktop\freevine-main\services\channel4.py", line 67, in local_cdm
        lic = self.get_license(
              ^^^^^^^^^^^^^^^^^
      File "C:\Users\Eric\Desktop\freevine-main\services\channel4.py", line 91, in get_license
        "message": base64.b64encode(challenge).decode("utf8"),
                   ^^^^^^^^^^^^^^^^^^^^^^^^^^^
      File "C:\Users\Eric\AppData\Local\Programs\Python\Python311\Lib\base64.py", line 58, in b64encode
        encoded = binascii.b2a_base64(s, newline=False)
                  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    TypeError: a bytes-like object is required, not 'int'
    I have generated the device_client_id_blob.bin and device_private_key.pem and put them in freevine-main\pywidevine\L3\cdm\devices\android_generic folder. I have looked through the pages and generated the files again, but same issue, any idea what i'm doing wrong?

    I appreciate the help.
    Quote Quote  
  20. Hi, thanks for making this tool! I'm trying to download a Roku channel series which basically seems to be the only real HD source but am getting an error although the titles list is loading fine. Could you please help (I used Python 3.12 but that doesn't seem to be the issue)? Here's the log:

    Code:
    python freevine.py --complete https://therokuchannel.roku.com/details/f259a3ae901e5a51a5704cb3a7d69445/robocop-alpha-commando
    
    21:08:13.153 INFO : Freevine v0.6.1-beta (20231027)
    
    21:08:13.278 INFO : The Roku Channel
    21:08:16.873 INFO : RoboCop: Alpha Commando (1998): 1 Season(s), 40 Episode(s)
    
    no client ID blob available for this device
    Traceback (most recent call last):
      File "C:\freevine\freevine.py", line 46, in <module>
        main()
      File "C:\Users\USER\AppData\Local\Programs\Python\Python312\Lib\site-packages\click\core.py", line 1157, in __call__
        return self.main(*args, **kwargs)
               ^^^^^^^^^^^^^^^^^^^^^^^^^^
      File "C:\Users\USER\AppData\Local\Programs\Python\Python312\Lib\site-packages\click\core.py", line 1078, in main
        rv = self.invoke(ctx)
             ^^^^^^^^^^^^^^^^
      File "C:\Users\USER\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\USER\AppData\Local\Programs\Python\Python312\Lib\site-packages\click\core.py", line 783, in invoke
        return __callback(*args, **kwargs)
               ^^^^^^^^^^^^^^^^^^^^^^^^^^^
      File "C:\freevine\freevine.py", line 40, in main
        Service(config, **kwargs)
      File "C:\freevine\services\roku.py", line 50, in __init__
        self.get_options()
      File "C:\freevine\services\roku.py", line 250, in get_options
        self.download(download, title)
      File "C:\freevine\services\roku.py", line 263, in download
        else local_cdm(pssh, lic_url, self.client)
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
      File "C:\freevine\utils\cdm.py", line 15, in local_cdm
        response = client.post(url=lic_url, data=wvdecrypt.get_challenge())
                   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
      File "C:\Users\USER\AppData\Local\Programs\Python\Python312\Lib\site-packages\httpx\_client.py", line 1132, in post
        return self.request(
               ^^^^^^^^^^^^^
      File "C:\Users\USER\AppData\Local\Programs\Python\Python312\Lib\site-packages\httpx\_client.py", line 801, in request
        request = self.build_request(
                  ^^^^^^^^^^^^^^^^^^^
      File "C:\Users\USER\AppData\Local\Programs\Python\Python312\Lib\site-packages\httpx\_client.py", line 358, in build_request
        return Request(
               ^^^^^^^^
      File "C:\Users\USER\AppData\Local\Programs\Python\Python312\Lib\site-packages\httpx\_models.py", line 339, in __init__
        headers, stream = encode_request(
                          ^^^^^^^^^^^^^^^
      File "C:\Users\USER\AppData\Local\Programs\Python\Python312\Lib\site-packages\httpx\_content.py", line 205, in encode_request
        return encode_content(data)
               ^^^^^^^^^^^^^^^^^^^^
      File "C:\Users\USER\AppData\Local\Programs\Python\Python312\Lib\site-packages\httpx\_content.py", line 133, in encode_content
        raise TypeError(f"Unexpected type for 'content', {type(content)!r}")
    TypeError: Unexpected type for 'content', <class 'int'>
    Quote Quote  
  21. Originally Posted by Mashup View Post
    Now when I run the following to download.
    Code:
    py freevine.py -c https://www.channel4.com/programmes/8-out-of-10-cats-does-countdown
    It's giving me the error below;

    Code:
    no client ID blob available for this device
    I have generated the device_client_id_blob.bin and device_private_key.pem and put them in freevine-main\pywidevine\L3\cdm\devices\android_generic folder. I have looked through the pages and generated the files again, but same issue, any idea what i'm doing wrong?

    I appreciate the help.
    Remove the file extensions (.bin and .pem).
    Quote Quote  
  22. Originally Posted by videobuff View Post
    Hi, thanks for making this tool! I'm trying to download a Roku channel series which basically seems to be the only real HD source but am getting an error although the titles list is loading fine. Could you please help (I used Python 3.12 but that doesn't seem to be the issue)? Here's the log:

    Code:
    python freevine.py --complete https://therokuchannel.roku.com/details/f259a3ae901e5a51a5704cb3a7d69445/robocop-alpha-commando
    
    21:08:13.153 INFO : Freevine v0.6.1-beta (20231027)
    
    21:08:13.278 INFO : The Roku Channel
    21:08:16.873 INFO : RoboCop: Alpha Commando (1998): 1 Season(s), 40 Episode(s)
    
    no client ID blob available for this device
    Traceback (most recent call last):
      File "C:\freevine\freevine.py", line 46, in <module>
        main()
      File "C:\Users\USER\AppData\Local\Programs\Python\Python312\Lib\site-packages\click\core.py", line 1157, in __call__
        return self.main(*args, **kwargs)
               ^^^^^^^^^^^^^^^^^^^^^^^^^^
      File "C:\Users\USER\AppData\Local\Programs\Python\Python312\Lib\site-packages\click\core.py", line 1078, in main
        rv = self.invoke(ctx)
             ^^^^^^^^^^^^^^^^
      File "C:\Users\USER\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\USER\AppData\Local\Programs\Python\Python312\Lib\site-packages\click\core.py", line 783, in invoke
        return __callback(*args, **kwargs)
               ^^^^^^^^^^^^^^^^^^^^^^^^^^^
      File "C:\freevine\freevine.py", line 40, in main
        Service(config, **kwargs)
      File "C:\freevine\services\roku.py", line 50, in __init__
        self.get_options()
      File "C:\freevine\services\roku.py", line 250, in get_options
        self.download(download, title)
      File "C:\freevine\services\roku.py", line 263, in download
        else local_cdm(pssh, lic_url, self.client)
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
      File "C:\freevine\utils\cdm.py", line 15, in local_cdm
        response = client.post(url=lic_url, data=wvdecrypt.get_challenge())
                   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
      File "C:\Users\USER\AppData\Local\Programs\Python\Python312\Lib\site-packages\httpx\_client.py", line 1132, in post
        return self.request(
               ^^^^^^^^^^^^^
      File "C:\Users\USER\AppData\Local\Programs\Python\Python312\Lib\site-packages\httpx\_client.py", line 801, in request
        request = self.build_request(
                  ^^^^^^^^^^^^^^^^^^^
      File "C:\Users\USER\AppData\Local\Programs\Python\Python312\Lib\site-packages\httpx\_client.py", line 358, in build_request
        return Request(
               ^^^^^^^^
      File "C:\Users\USER\AppData\Local\Programs\Python\Python312\Lib\site-packages\httpx\_models.py", line 339, in __init__
        headers, stream = encode_request(
                          ^^^^^^^^^^^^^^^
      File "C:\Users\USER\AppData\Local\Programs\Python\Python312\Lib\site-packages\httpx\_content.py", line 205, in encode_request
        return encode_content(data)
               ^^^^^^^^^^^^^^^^^^^^
      File "C:\Users\USER\AppData\Local\Programs\Python\Python312\Lib\site-packages\httpx\_content.py", line 133, in encode_content
        raise TypeError(f"Unexpected type for 'content', {type(content)!r}")
    TypeError: Unexpected type for 'content', <class 'int'>

    Hi,

    I've tried to download it using your command and it does work fine (using KeepSolid VPN from the UK). Unfortunately, though it does download, you only get SD (480).

    Peter

    19:05:15.525 INFO : Parsing streams...
    19:05:15.531 INFO : Selected streams:
    19:05:15.531 INFO : Vid *CENC 640x480 | 1013 Kbps | 1 | 23.976 | avc1.64001E | 668 Segments | ~22m16s
    19:05:15.532 INFO : Aud *CENC 6 | 128 Kbps | mp4a.40.5 | eng | 2CH | 668 Segments | ~22m16s
    19:05:15.534 INFO : Sub 7 | eng | stpp | 668 Segments | ~22m16s
    19:05:15.534 WARN : Writing meta json
    19:05:15.546 INFO : Save Name: RoboCop.Alpha.Commando.S01E01.Justice.Reborn.Part. 1.480p.ROKU.WEB-DL.AAC2.0.H.264
    19:05:15.547 WARN : MuxAfterDone is detected, binary merging is automatically enabled
    19:05:15.551 INFO : Start downloading...Sub 7 | eng | stpp
    19:05:15.551 INFO : Start downloading...Aud 6 | 128 Kbps | mp4a.40.5 | eng | 2CH
    19:05:15.551 INFO : Start downloading...Vid 640x480 | 1013 Kbps | 1 | 23.976 | avc1.64001E
    19:05:15.995 WARN : Reading media info...
    Quote Quote  
  23. Originally Posted by stabbedbybrick View Post
    Originally Posted by Mashup View Post
    Now when I run the following to download.
    Code:
    py freevine.py -c https://www.channel4.com/programmes/8-out-of-10-cats-does-countdown
    It's giving me the error below;

    Code:
    no client ID blob available for this device
    I have generated the device_client_id_blob.bin and device_private_key.pem and put them in freevine-main\pywidevine\L3\cdm\devices\android_generic folder. I have looked through the pages and generated the files again, but same issue, any idea what i'm doing wrong?

    I appreciate the help.
    Remove the file extensions (.bin and .pem).
    It was honestly that simple, thank you so much. Been able to get this working now, was just pywidevine and the extensions in the way.

    Really appreciate the help, and especially the software, so easy to use and works great!
    Quote Quote  
  24. Originally Posted by billybanana View Post
    Originally Posted by stabbedbybrick View Post
    So I've added ABC iView for our Australian friends.
    Thank you so much for your work here. This is brilliant.

    If you get really bored and want to consider adding any other Aussie FTA networks, these are the sites

    7Plus
    https://7plus.com.au/
    SBS on Demand
    https://www.sbs.com.au/ondemand/
    9Now
    https://www.9now.com.au/
    10Play
    https://10play.com.au/

    9Now would be the one that would make my wife (and more me by extension) a happy camper.
    Should note most of these are just basic hls or no drm mpd (sbs and 10play, 7plus+9now are a mix of encrypted/non content) but are all easy to get just a mess. If you have even more time add all the .nz and .us fta services too
    Quote Quote  
  25. Member
    Join Date
    Mar 2023
    Location
    Australia
    Search Comp PM
    On ABC IView having the AD stream issue on an episode of The Control Room.
    The audio in N_m3u8DL-RE shows 13:00:31.567 INFO : Aud *CENC audio-en-mp4a-2 | 137 Kbps | mp4a.40.2 | en | 2CH | 1 Segment | ~56m31s
    13:00:31.569 INFO : Aud *CENC audio-en-mp4a-1 | 137 Kbps | mp4a.40.2 | en | 2CH | 1 Segment | ~56m31s

    Tried most of the suggestions in this thread and the one that worked track: "for=best2" gives both the normal and AD tracks. In VLC it's easy to change the audio to the correct one, but how do I get it to work without the AD track.

    https://iview.abc.net.au/video/ZW3307A001S00
    Quote Quote  
  26. Code:
        <!-- Audio -->
        <AdaptationSet mimeType="audio/mp4" startWithSAP="1" segmentAlignment="true" lang="en" label="English" subsegmentAlignment="true" subsegmentStartsWithSAP="1">
          --removed-encryption-part--
          <Representation id="audio-en-mp4a-1" codecs="mp4a.40.2" bandwidth="137379" audioSamplingRate="44100">
            <AudioChannelConfiguration schemeIdUri="urn:mpeg:dash:23003:3:audio_channel_configuration:2011" value="2"/>
            <BaseURL>audio-en-0.mp4</BaseURL>
            <SegmentBase indexRange="1841-22224">
              <Initialization range="0-1840"/>
            </SegmentBase>
          </Representation>
        </AdaptationSet>
        <AdaptationSet mimeType="audio/mp4" startWithSAP="1" segmentAlignment="true" lang="en" label="English Audio Description" subsegmentAlignment="true" subsegmentStartsWithSAP="1">
          <Role schemeIdUri="urn:mpeg:dash:role:2011" value="alternate"/>
          <Accessibility schemeIdUri="urn:tva:metadata:cs:AudioPurposeCS:2007" value="1"/>
          --removed-encryption-part--
          <Representation id="audio-en-mp4a-2" codecs="mp4a.40.2" bandwidth="137419" audioSamplingRate="44100">
            <AudioChannelConfiguration schemeIdUri="urn:mpeg:dash:23003:3:audio_channel_configuration:2011" value="2"/>
            <BaseURL>audio-en-1.mp4</BaseURL>
            <SegmentBase indexRange="1841-22224">
              <Initialization range="0-1840"/>
            </SegmentBase>
          </Representation>
        </AdaptationSet>
    it looks like iview puts the audio track type in the adaptaptionset label and not in the representation part.

    if they follow the same formula with id "audio-en-mp4a-1" being normal audio and id "audio-en-mp4a-2" being the audio descriptive track, you could use this argument with n_m3u8dl-re
    Code:
    --select-audio id=-1
    it looks like diazole has already put in a request with n_m3u8dl-re to add support for the role scheme but we'll have to wait for the next release to use it
    Quote Quote  
  27. Member
    Join Date
    Mar 2023
    Location
    Australia
    Search Comp PM
    Thanks ElCap that worked at least for the couple I tried.
    Quote Quote  
  28. Hi! Just wanted to say what an awesome app! Friend put me onto it and I've been having a good play! I have a couple of questions if that's ok

    Firstly this morning I went to download two Channel4 shows that have new episodes, Help we bought a village and A Place in the sun, for some reason Freevine doesn't find the new episodes even though they're clearly there on the channel4 website and can be played etc.

    Secondly, with My5 there's been a few times the Mpd URL changed and to get 1080p requires a little more tweaking, I believe My5 has 4 different URL types that need little tweaks to get 1080p rather than just 720p, for example there's 3 episodes of Bargain Loving Brits in The Sun series 10 that freevine can only download in 720p rather than the available (with little tweaks) 1080p, s10e15, s10e20, s10e21 also for example some older series of shows e.g. series 3&4 of Police Interceptors I tried so far as only downloadable in 720p but with another my5 script (which manipulates the mpd link to "fix" it) 1080p is possible.

    Hope these aren't too much hassle to answer/fix, love the app, thanks again

    Edit: I wasn't sure if for security reasons it's best not to link directly to the shows I mentioned, hence not linking to them...

    Edit2: Just downloaded last night's Killer at the Crime Scene (s03e10) from My5 and it's also only 720p for some reason.
    Last edited by Grimbarian; 31st Oct 2023 at 02:54.
    Quote Quote  
  29. Originally Posted by Grimbarian View Post
    Hi! Just wanted to say what an awesome app! Friend put me onto it and I've been having a good play! I have a couple of questions if that's ok

    Firstly this morning I went to download two Channel4 shows that have new episodes, Help we bought a village and A Place in the sun, for some reason Freevine doesn't find the new episodes even though they're clearly there on the channel4 website and can be played etc.
    I think I see what the problem is. Channel4 has a habit of storing episodes that aren't always available, like episodes that doesn't "air" for another week or were available at one point but has since been removed. And the script currently picks those up when looping through the API, which it won't be able to download because they aren't actually there. I don't know if that makes any sense to you, but it should hopefully be an easy fix.

    In the meantime, you can download single episodes by URL as well, which works fine for the latest episodes:

    Code:
    python freevine.py EPISODE_URL

    Originally Posted by Grimbarian View Post
    Secondly, with My5 there's been a few times the Mpd URL changed and to get 1080p requires a little more tweaking, I believe My5 has 4 different URL types that need little tweaks to get 1080p rather than just 720p, for example there's 3 episodes of Bargain Loving Brits in The Sun series 10 that freevine can only download in 720p rather than the available (with little tweaks) 1080p, s10e15, s10e20, s10e21 also for example some older series of shows e.g. series 3&4 of Police Interceptors I tried so far as only downloadable in 720p but with another my5 script (which manipulates the mpd link to "fix" it) 1080p is possible.

    Hope these aren't too much hassle to answer/fix, love the app, thanks again

    Edit: I wasn't sure if for security reasons it's best not to link directly to the shows I mentioned, hence not linking to them...

    Edit2: Just downloaded last night's Killer at the Crime Scene (s03e10) from My5 and it's also only 720p for some reason.
    Yeah, the way it looks for and edits the URL can definitely be improved. I don't use My5 enough to catch these things myself, so feedback is always appreciated. I'll take a look and see if I can come up with a better solution to grab all versions.
    Quote Quote  
  30. Member
    Join Date
    Dec 2022
    Location
    Lesotho
    Search Comp PM
    Originally Posted by Grimbarian View Post
    Firstly this morning I went to download two Channel4 shows that have new episodes, Help we bought a village and A Place in the sun, for some reason Freevine doesn't find the new episodes even though they're clearly there on the channel4 website and can be played etc.
    The manifest is a bit of a shambles.

    The episodes you are looking for are.

    Code:
    A Place in the Sun S16E94 Mon 30 Oct 2023: Mallorca
    Code:
    Help.We.Bought.a.Village.S02E11
    The former is deep in the list but the latter is second from the bottom.
    Quote Quote  



Similar Threads

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