VideoHelp Forum




+ Reply to Thread
Page 2 of 2
FirstFirst 1 2
Results 31 to 54 of 54
  1. Search, Learn, Download! Karoolus's Avatar
    Join Date
    Oct 2022
    Location
    Belgium
    Search Comp PM
    save them as .py files, then you can do
    Code:
    py scriptname.py
    tu run them
    Quote Quote  
  2. I just figured out how to save the python scripts and I have cut and pasted them into the folder. Now to explore and learn; we will see how it turns out.
    Quote Quote  
  3. How do I do the "Code Tags" to make it easier for people to read? Thank you for your help.
    Quote Quote  
  4. Search, Learn, Download! Karoolus's Avatar
    Join Date
    Oct 2022
    Location
    Belgium
    Search Comp PM
    Originally Posted by Tom Saurus View Post
    How do I do the "Code Tags" to make it easier for people to read? Thank you for your help.
    type [CODE ] your code or text here [/CODE ]

    but remove the spaces before ]


    Alternatively, you could go to the advanced text editor and select the code tags there
    Quote Quote  
  5. Thank you and I suspect others are learning as well so thank you on their behalf.


    Code:
    C:\Users\\Desktop\Python Script Downloader>py tubi.py
    Traceback (most recent call last):
      File "C:\Users\\Desktop\Python Script Downloader\tubi.py", line 30, in <module>
        from helpers.utilities import stamp, string_cleaning, set_range
    ModuleNotFoundError: No module named 'helpers'
    
    C:\Users\\Desktop\Python Script Downloader>py TUBI.py
    Traceback (most recent call last):
      File "C:\Users\\Desktop\Python Script Downloader\TUBI.py", line 30, in <module>
        from helpers.utilities import stamp, string_cleaning, set_range
    ModuleNotFoundError: No module named 'helpers'
    
    C:\Users\\Desktop\Python Script Downloader>python ctv.py  --help
    Traceback (most recent call last):
      File "C:\Users\\Desktop\Python Script Downloader\ctv.py", line 26, in <module>
        from helpers.utilities import stamp, string_cleaning, set_range
    ModuleNotFoundError: No module named 'helpers'
    
    C:\Users\sheld\Desktop\Python Script Downloader>
    Quote Quote  
  6. Search, Learn, Download! Karoolus's Avatar
    Join Date
    Oct 2022
    Location
    Belgium
    Search Comp PM
    Originally Posted by Tom Saurus View Post
    Thank you and I suspect others are learning as well so thank you on their behalf.


    Code:
    C:\Users\\Desktop\Python Script Downloader>py tubi.py
    Traceback (most recent call last):
      File "C:\Users\\Desktop\Python Script Downloader\tubi.py", line 30, in <module>
        from helpers.utilities import stamp, string_cleaning, set_range
    ModuleNotFoundError: No module named 'helpers'
    
    C:\Users\\Desktop\Python Script Downloader>py TUBI.py
    Traceback (most recent call last):
      File "C:\Users\\Desktop\Python Script Downloader\TUBI.py", line 30, in <module>
        from helpers.utilities import stamp, string_cleaning, set_range
    ModuleNotFoundError: No module named 'helpers'
    
    C:\Users\\Desktop\Python Script Downloader>python ctv.py  --help
    Traceback (most recent call last):
      File "C:\Users\\Desktop\Python Script Downloader\ctv.py", line 26, in <module>
        from helpers.utilities import stamp, string_cleaning, set_range
    ModuleNotFoundError: No module named 'helpers'
    
    C:\Users\sheld\Desktop\Python Script Downloader>
    I guess there is supposed to be a helpers folder with supporting scripts, but I don't know where you got this script
    Quote Quote  
  7. I just went to stabbedbybrick's helpers and have saved all the .py stuff in that folder and pasted into this folder.
    Quote Quote  
  8. I see something called "clone" with my luck "Dolly The Sheep" will show up instead.
    Quote Quote  
  9. I just went and got a zip file that has freevine main folder in it. I moved m_3u8DL-RE, mkvmerge, mp4decrypt into that folder. I went to the address bar and typed CMD.

    Code:
    C:\Users\\Desktop\Python Script Downloader\freevine-main>python ctv.py
    python: can't open file 'C:\\Users\\\\Desktop\\Python Script Downloader\\freevine-main\\ctv.py': [Errno 2] No such file or directory
    I should have installed freevine main folder right from the start that is what I am thinking. I am kind of worn out now so I better take a break. But it has been fascinating to learn what I have learned thus far.
    Quote Quote  
  10. Search, Learn, Download! Karoolus's Avatar
    Join Date
    Oct 2022
    Location
    Belgium
    Search Comp PM
    Look, I mean this in the best way possible, I have no problem with helping you figure out how to get the keys for videos you want to decrypt. But to me, it seems like you need a basic knowledge on how cmd and running scripts works. This is not the place. Use Google and/or YouTube for that. Cause so far, you've only had problems that could've been solved in a minute if you had just googled the error you were getting.

    It looks like the time has come to do some research and learning of your own.
    Quote Quote  
  11. Member
    Join Date
    Feb 2022
    Location
    Search the forum first!
    Search PM
    Originally Posted by Karoolus View Post
    Look, I mean this in the best way possible, I have no problem with helping you figure out how to get the keys for videos you want to decrypt. But to me, it seems like you need a basic knowledge on how cmd and running scripts works. This is not the place. Use Google and/or YouTube for that. Cause so far, you've only had problems that could've been solved in a minute if you had just googled the error you were getting.

    It looks like the time has come to do some research and learning of your own.
    had that worked out by post 1. What kept you so long?
    Quote Quote  
  12. Member
    Join Date
    Dec 2021
    Location
    england
    Search Comp PM
    Originally Posted by Tom Saurus View Post
    I just went and got a zip file that has freevine main folder in it. I moved m_3u8DL-RE, mkvmerge, mp4decrypt into that folder. I went to the address bar and typed CMD.

    Code:
    C:\Users\\Desktop\Python Script Downloader\freevine-main>python ctv.py
    python: can't open file 'C:\\Users\\\\Desktop\\Python Script Downloader\\freevine-main\\ctv.py': [Errno 2] No such file or directory
    I should have installed freevine main folder right from the start that is what I am thinking. I am kind of worn out now so I better take a break. But it has been fascinating to learn what I have learned thus far.
    did you read "README.md". you cant run ctv.py by it own.
    Code:
        python dl.py SERVICE --episode S01E01 URL
        python dl.py SERVICE --episode S01E01-S01E10 URL
        python dl.py SERVICE --episode S01E01,S03E12,S05E03 URL
        python dl.py SERVICE --quality 720p --season S01 URL
        python dl.py SERVICE --remote --season S01 URL
        python dl.py SERVICE --titles URL
    your cmd would be like
    Code:
    dl.py ctv --episode S01E01 http://ctv.com/video name....
    Image
    [Attachment 73599 - Click to enlarge]
    Last edited by iamghost; 3rd Sep 2023 at 06:32.
    Quote Quote  
  13. iamghost: Thank you for help.

    I moved the main freevine main folder to C thinking that might help. Well anyway I do want to figure this out. I thought nearly everything should be there that is needed. So looking at what you posted I have made some additional attempts. However the program is acting like it can't call up what should be there.

    Code:
    C:\freevine-main>python dl.py tubi.py --quality 480p --season s02 https://tubitv.com/series/2166/merlin/season-2
    Traceback (most recent call last):
      File "C:\freevine-main\dl.py", line 6, in <module>
        from helpers.alias import get_alias
      File "C:\freevine-main\helpers\alias.py", line 1, in <module>
        from services.uktv import UKTV
      File "C:\freevine-main\services\uktv.py", line 27, in <module>
        from helpers.cdm import local_cdm, remote_cdm
      File "C:\freevine-main\helpers\cdm.py", line 5, in <module>
        from pywidevine.L3.decrypt.wvdecryptcustom import WvDecrypt
    ModuleNotFoundError: No module named 'pywidevine'
    
    C:\freevine-main>
    I don't know why it is trying to import UKTV when I am asking it to work with Tubi.

    Code:
    Another example:
    C:\freevine-main>dl.py ctv.py https://www.ctv.ca/movies/anaconda/anaconda
    Traceback (most recent call last):
      File "C:\freevine-main\dl.py", line 6, in <module>
        from helpers.alias import get_alias
      File "C:\freevine-main\helpers\alias.py", line 1, in <module>
        from services.uktv import UKTV
      File "C:\freevine-main\services\uktv.py", line 27, in <module>
        from helpers.cdm import local_cdm, remote_cdm
      File "C:\freevine-main\helpers\cdm.py", line 5, in <module>
        from pywidevine.L3.decrypt.wvdecryptcustom import WvDecrypt
    ModuleNotFoundError: No module named 'pywidevine'

    Code:
    C:\freevine-main>python dl.py ctv.py --Anaconda --quality 540p --https://www.ctv.ca/movies/anaconda/anaconda
    Traceback (most recent call last):
      File "C:\freevine-main\dl.py", line 6, in <module>
        from helpers.alias import get_alias
      File "C:\freevine-main\helpers\alias.py", line 1, in <module>
        from services.uktv import UKTV
      File "C:\freevine-main\services\uktv.py", line 27, in <module>
        from helpers.cdm import local_cdm, remote_cdm
      File "C:\freevine-main\helpers\cdm.py", line 5, in <module>
        from pywidevine.L3.decrypt.wvdecryptcustom import WvDecrypt
    ModuleNotFoundError: No module named 'pywidevine'
    
    C:\freevine-main>
    I don't mind importing get alias but the folder shows that files already exist. How do I import what it is needed? Maybe I am still not naming things correctly. Thank you in advance for your patience.
    Last edited by Tom Saurus; 3rd Sep 2023 at 08:18.
    Quote Quote  
  14. Member
    Join Date
    Dec 2021
    Location
    england
    Search Comp PM
    you got wks-keys so copy pywidevine folder paste inside freevine-main folder
    Quote Quote  
  15. I just copied it over. I have made another attempt.

    I think I am starting to get somewhere:

    Code:
    C:\freevine-main>python dl.py ctv.py --Anaconda --quality 540p --https://www.ctv.ca/movies/anaconda/anaconda
    Usage: dl.py [OPTIONS] SERVICE URL
    Try 'dl.py --help' for help.
    
    Error: No such option: --Anaconda
    
    C:\freevine-main>dl.py --help
    Usage: dl.py [OPTIONS] SERVICE URL
    
      Freevine v0.0.5
      Author: stabbedbybrick
    
      Requirements:
          Python 3.7+
          Working CDM(blob and key)
          N_m3u8DL-RE
          ffmpeg
          mkvmerge
          mp4decrypt
    
      Python packages installation:
          pip install -r requirements.txt
    
      Settings:
          Open config.yaml in your favorite text editor to change settings like
          download path, folder structure, file names, subtitle options etc.
    
      Instructions:
          Place blob and key file in pywidevine/L3/cdm/devices/android_generic to use local CDM
          Use --remote option if you don't have a CDM (ALL4 not supported)
    
          Use dl.py to call on the streaming service you want to download from
          by using the service alias: ALL4, CTV, ITV, UKTV, STV, ROKU, TUBI, PLUTO
          Add options and a URL to series or movie to specify what you want to download
          See examples at the bottom
    
          Always use main page URL of series or movie, not specific episode URLs
          Use the "S01E01" format (Season 1, Episode 1) to request episodes
          Use --episode S01E01-S01E10 to request a range of episodes (from the same season)
          Use --episode S01E01,S03E07,S10E12 (no spaces!) to request a mix of episodes
    
          --remote to get decryption keys remotely (default: local CDM)
          --titles to list all available episodes from a series
          --quality to specify video quality (default: Best)
          --all-audio to include all audio tracks (default: Best)
    
      Information:
          ROKU:  1080p, DD5.1, premium content is not supported
          CTV:   1080p, DD5.1, TV provider-required content is (probably) not supported
          ALL4:  1080p, AAC2.0
          UKTV:  1080p, AAC2.0
          STV:   1080p, AAC2.0 Some titles have DRM, some do not. Both are supported
          ITV:   720p,  AAC2.0
          TUBI:  720p,  AAC2.0 Some titles have DRM, some do not. Both are supported
          PLUTO: 720p,  AAC2.0
    
          Default file names follow the current P2P standard:
          "Title.S01E01.Name.1080p.SERVICE.WEB-DL.AUDIO.CODEC"
    
          If you request a quality that's not available,
          the closest match is downloaded instead
    
          Default download path is /downloads folder
          Series are organized in respective season folder
          Subtitles(if available) are muxed in with the final file
    
      Examples:
          python dl.py CTV  --episode S01E01 URL
          python dl.py ALL4 --episode S01E01-S01E10 URL
          python dl.py ITV  --quality 720p --season S01 URL
          python dl.py ROKU --remote --season S01 URL
          python dl.py UKTV --titles URL
    
    Options:
      -q, --quality TEXT  Specify resolution
      -a, --all-audio     Include all audio tracks
      -e, --episode TEXT  Download episode(s)
      -s, --season TEXT   Download complete season
      -c, --complete      Download complete series
      -m, --movie         Download movie
      -t, --titles        List all titles
      -r, --remote        Use remote CDM
      --help              Show this message and exit.
    
    C:\freevine-main>
    Code:
    C:\freevine-main>python dl.py ctv.py -m --Anaconda --quality 540p -- https://www.ctv.ca/movies/anaconda/anaconda
    Usage: dl.py [OPTIONS] SERVICE URL
    Try 'dl.py --help' for help.
    
    Error: No such option: --Anaconda
    
    C:\freevine-main>

    I think I must be getting closer. Thank you for your continued patience.
    Quote Quote  
  16. Member
    Join Date
    Dec 2021
    Location
    england
    Search Comp PM
    Code:
    dl.py ctv -q 540p -m https://www.ctv.ca/movies/anaconda/
    Quote Quote  
  17. That is working and I am studying how this was organized. So quality comes before movie. So everything is in the folder that it needs. It is a matter of me understanding on how to call it all up. I will have to learn how get it to select stereo audio as opposed to 6 channel and other such things. Thank you so much so at least now I have a template for CTV movies at 540p.
    Quote Quote  
  18. It works now I just have to change it to a .mp4 instead of an .mkv and I know I probably have a tool that muxes that without loosing any quality.

    Thank you and I have more to learn but it feels good knowing the tools are all there.

    After doing a search here this program looks like it can accomplish the task of having it change over to an .mp4 from a .mkv:

    https://www.videohelp.com/software/MkvToMp4
    Last edited by Tom Saurus; 3rd Sep 2023 at 09:17. Reason: additional information
    Quote Quote  
  19. Member
    Join Date
    Dec 2021
    Location
    england
    Search Comp PM
    Originally Posted by Tom Saurus View Post
    you dont need software
    just edit in config.yaml, change format: mp4 and muxer: ffmpeg
    Code:
     
    # Specify file format. Default: mkv
    format: mp4
    
    # Specify muxer (ffmpeg or mkvmerge) Default: mkvmerge
    muxer: ffmpeg
    they will change video format to mp4
    Quote Quote  
  20. Search, Learn, Download! Karoolus's Avatar
    Join Date
    Oct 2022
    Location
    Belgium
    Search Comp PM
    Originally Posted by A_n_g_e_l_a View Post
    had that worked out by post 1. What kept you so long?
    I am a kind and patient person, I thought you had that worked out as well
    Quote Quote  
  21. Originally Posted by iamghost View Post
    Originally Posted by Tom Saurus View Post
    you dont need software
    just edit in config.yaml, change format: mp4 and muxer: ffmpeg
    Code:
     
    # Specify file format. Default: mkv
    format: mp4
    
    # Specify muxer (ffmpeg or mkvmerge) Default: mkvmerge
    muxer: ffmpeg
    they will change video format to mp4

    Thank you I opened it Notepad and made those changes. It was kind of you to take the time to give me this guidance.


    On a worrying note I launched WKS-KEYS with the command prompt and it just has WK-KEYS and not PSSH: I must not have practiced last night on that enough or something is wrong. But I suppose learn more about what I am currently doing and get back to that later.
    Quote Quote  
  22. Thank you to everyone who helped me. I was able to get a grasp on not only CTV but TubiTV and PlutoTV as well.
    Quote Quote  
  23. Originally Posted by Tom Saurus View Post
    Thank you to everyone who helped me. I was able to get a grasp on not only CTV but TubiTV and PlutoTV as well.
    Glad to hear it. It's always nice to see someone push through and reach the finish line instead of giving up
    Quote Quote  



Similar Threads

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