save them as .py files, then you can do
tu run themCode:py scriptname.py
+ Reply to Thread
Results 31 to 54 of 54
-
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.
-
How do I do the "Code Tags" to make it easier for people to read? Thank you for your help.
-
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 just went to stabbedbybrick's helpers and have saved all the .py stuff in that folder and pasted into this folder.
-
I see something called "clone" with my luck "Dolly The Sheep" will show up instead.
-
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
-
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. -
-
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
Code:dl.py ctv --episode S01E01 http://ctv.com/video name....
[Attachment 73599 - Click to enlarge]Last edited by iamghost; 3rd Sep 2023 at 06:32.
-
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>
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>
Last edited by Tom Saurus; 3rd Sep 2023 at 08:18.
-
you got wks-keys so copy pywidevine folder paste inside freevine-main folder
-
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. -
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.
-
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/MkvToMp4Last edited by Tom Saurus; 3rd Sep 2023 at 09:17. Reason: additional information
-
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
-
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. -
Thank you to everyone who helped me. I was able to get a grasp on not only CTV but TubiTV and PlutoTV as well.
-
Similar Threads
-
N_m3u8DL-RE on Mac
By phineferb98 in forum Video Streaming DownloadingReplies: 19Last Post: 17th Dec 2024, 13:15 -
N_m3u8DL-RE: Giving It A Try
By Tom Saurus in forum Video Streaming DownloadingReplies: 104Last Post: 10th Dec 2024, 08:17 -
N_m3u8DL-RE and quick questions
By euphonic in forum Video Streaming DownloadingReplies: 30Last Post: 8th Aug 2023, 11:39 -
Help with N_m3u8DL-RE and MPD
By sparklescale in forum Video Streaming DownloadingReplies: 4Last Post: 20th Jun 2023, 23:31 -
N_m3u8DL-RE subtitle
By ahmedani in forum Video Streaming DownloadingReplies: 4Last Post: 7th Dec 2022, 09:30