Do not manually update. It auto-updates on its own without using selenium driver.
The code works fine on Fedora 39 running python 3.12 and Windows 11 running 3.12.
But someone else complained of this issue so I've refactored the code.
Update here https://files.videohelp.com/u/301890/uk-fta_14_2.zip
Support our site by donate $5 directly to us Thanks!!!
Try StreamFab Downloader and download streaming video from Netflix, Amazon!
Try StreamFab Downloader and download streaming video from Netflix, Amazon!
+ Reply to Thread
Results 241 to 270 of 617
-
Last edited by A_n_g_e_l_a; 16th May 2024 at 13:57.
Noob Starter Pack. Just download every Widevine mpd! Not kidding!.
https://files.videohelp.com/u/301890/hellyes6.zip -
Well i would like to specify audio-2 which is the highest bitrate audio offered, however even though i have modified the TPTV.py file to reflect this, it seems to automatically default to audio-0, you can look at most .mpds and they will have the highest video resolution paired with audio-2 usually, as i say i can manually download with the CLI version and the GUI but not with the script, it's not a big issue as i manually clean the formatting of the subs prior to muxing anyway.
-
Update below
Last edited by A_n_g_e_l_a; 17th May 2024 at 09:43.
Noob Starter Pack. Just download every Widevine mpd! Not kidding!.
https://files.videohelp.com/u/301890/hellyes6.zip -
OK. I see what is happening now. There are fairly anonymous streams presented in the json - HLS and DASH. I chose HLS as easier and faster to deal with. But the DASH stream has 96kb/s and 127kb/s
THe manifest json looks like this
HTML Code:"sources": [ { "codecs": "avc1,mp4a", "ext_x_version": "4", "src": "http://manifest.prod.boltdns.net/manifest/v1/hls/v4/aes128/6272132012001/1f4d07b0-a0c0-483e-a4fa-183ea65cb201/6s/master.m3u8?fastly_token=NjY0N2I4YWRfYWNlY2E0MTNmOWFkMzdmZWE0YjgyZjkwMzk3OWY3Yjg4Njg3ZDMzMWYzMWRjN2NlODNiYTZjZDVhM2UzMDg5ZQ%3D%3D", "type": "application/x-mpegURL" }, { "codecs": "avc1,mp4a", "ext_x_version": "4", "src": "https://manifest.prod.boltdns.net/manifest/v1/hls/v4/aes128/6272132012001/1f4d07b0-a0c0-483e-a4fa-183ea65cb201/6s/master.m3u8?fastly_token=NjY0N2I4YWRfYWNlY2E0MTNmOWFkMzdmZWE0YjgyZjkwMzk3OWY3Yjg4Njg3ZDMzMWYzMWRjN2NlODNiYTZjZDVhM2UzMDg5ZQ%3D%3D", "type": "application/x-mpegURL" }, { "codecs": "avc1,mp4a", "profiles": "urn:mpeg:dash:profile:isoff-live:2011", "src": "http://manifest.prod.boltdns.net/manifest/v1/dash/live-baseurl/clear/6272132012001/1f4d07b0-a0c0-483e-a4fa-183ea65cb201/6s/manifest.mpd?fastly_token=NjY0N2I4YWRfMDVkYzU4MjJjOWQwN2VmNTlmMmU0Y2UyM2UyNzE1ODgyOWVkOWViOTdlMDIwZTkzODI4MWU2YzMxN2QzMmQ2MA%3D%3D", "type": "application/dash+xml" }, { "codecs": "avc1,mp4a", "profiles": "urn:mpeg:dash:profile:isoff-live:2011", "src": "https://manifest.prod.boltdns.net/manifest/v1/dash/live-baseurl/clear/6272132012001/1f4d07b0-a0c0-483e-a4fa-183ea65cb201/6s/manifest.mpd?fastly_token=NjY0N2I4YWRfMDVkYzU4MjJjOWQwN2VmNTlmMmU0Y2UyM2UyNzE1ODgyOWVkOWViOTdlMDIwZTkzODI4MWU2YzMxN2QzMmQ2MA%3D%3D", "type": "application/dash+xml" } ],
edit - now picking 127kb/s audio
[Attachment 79191 - Click to enlarge]Last edited by A_n_g_e_l_a; 17th May 2024 at 08:50.
Noob Starter Pack. Just download every Widevine mpd! Not kidding!.
https://files.videohelp.com/u/301890/hellyes6.zip -
Update to fix TPTV and ITVX. ITVX will now handle Films as a direct download with URL. TPTV had changed since I last coded the extractor. Whilst it gave no errors it didn't give the best audio stream.
https://files.videohelp.com/u/301890/uk-fta_14_3.zipNoob Starter Pack. Just download every Widevine mpd! Not kidding!.
https://files.videohelp.com/u/301890/hellyes6.zip -
I have just give it a try.
And got this error when trying to update My5 from the menu:
Code:(env) PS C:\Users\user\git\UK-FTA.14.3> py -3.10 -m menu.py Traceback (most recent call last): File "C:\Users\user\git\UK-FTA.14.3\ukfta\my5_dl\hmac-aes-update.py", line 16, in <module> from selenium import webdriver ModuleNotFoundError: No module named 'selenium' C:\Users\user\AppData\Local\Programs\Python\Python310\python.exe: Error while finding module specification for 'menu.py' (ModuleNotFoundError: __path__ attribute not found on 'menu' while trying to find 'menu.py'). Try using 'menu' instead of 'menu.py' as the module name.
But "selenium" is installed:
Code:(env) PS C:\Users\user\git\UK-FTA.14.3> py -3.10 -m pip install -r requirements.txt Requirement already satisfied: beaupy==3.8.2 in c:\users\user\appdata\local\programs\python\python310\lib\site-packages (from -r requirements.txt (line 1)) (3.8.2) Requirement already satisfied: beautifulsoup4==4.12.3 in c:\users\user\appdata\local\programs\python\python310\lib\site-packages (from -r requirements.txt (line 2)) (4.12.3) Requirement already satisfied: httpx==0.27.0 in c:\users\user\appdata\local\programs\python\python310\lib\site-packages (from -r requirements.txt (line 3)) (0.27.0) Requirement already satisfied: jmespath==1.0.1 in c:\users\user\appdata\local\programs\python\python310\lib\site-packages (from -r requirements.txt (line 4)) (1.0.1) Requirement already satisfied: pycryptodome==3.19.0 in c:\users\user\appdata\local\programs\python\python310\lib\site-packages (from -r requirements.txt (line 5)) (3.19.0) Requirement already satisfied: pyfiglet==1.0.2 in c:\users\user\appdata\local\programs\python\python310\lib\site-packages (from -r requirements.txt (line 6)) (1.0.2) Requirement already satisfied: pywidevine==1.8.0 in c:\users\user\appdata\local\programs\python\python310\lib\site-packages (from -r requirements.txt (line 7)) (1.8.0) Requirement already satisfied: Requests==2.31.0 in c:\users\user\appdata\local\programs\python\python310\lib\site-packages (from -r requirements.txt (line 8)) (2.31.0) Requirement already satisfied: rich==13.7.1 in c:\users\user\appdata\local\programs\python\python310\lib\site-packages (from -r requirements.txt (line 9)) (13.7.1) Requirement already satisfied: Scrapy==2.11.1 in c:\users\user\appdata\local\programs\python\python310\lib\site-packages (from -r requirements.txt (line 10)) (2.11.1) Requirement already satisfied: selectolax==0.3.17 in c:\users\user\appdata\local\programs\python\python310\lib\site-packages (from -r requirements.txt (line 11)) (0.3.17) Requirement already satisfied: selenium==4.20.0 in c:\users\user\appdata\local\programs\python\python310\lib\site-packages (from -r requirements.txt (line 12)) (4.20.0) Requirement already satisfied: termcolor==2.4.0 in c:\users\user\appdata\local\programs\python\python310\lib\site-packages (from -r requirements.txt (line 13)) (2.4.0) Requirement already satisfied: pyaml==24.4.0 in c:\users\user\appdata\local\programs\python\python310\lib\site-packages (from -r requirements.txt (line 15)) (24.4.0) Requirement already satisfied: emoji<3.0.0,>=2.0.0 in c:\users\user\appdata\local\programs\python\python310\lib\site-packages (from beaupy==3.8.2->-r requirements.txt (line 1)) (2.11.1) Requirement already satisfied: python-yakh==0.3.2 in c:\users\user\appdata\local\programs\python\python310\lib\site-packages (from beaupy==3.8.2->-r requirements.txt (line 1)) (0.3.2) Requirement already satisfied: questo<0.3.0,>=0.2.3 in c:\users\user\appdata\local\programs\python\python310\lib\site-packages (from beaupy==3.8.2->-r requirements.txt (line 1)) (0.2.3) Requirement already satisfied: soupsieve>1.2 in c:\users\user\appdata\local\programs\python\python310\lib\site-packages (from beautifulsoup4==4.12.3->-r requirements.txt (line 2)) (2.5) Requirement already satisfied: anyio in c:\users\user\appdata\local\programs\python\python310\lib\site-packages (from httpx==0.27.0->-r requirements.txt (line 3)) (4.3.0) Requirement already satisfied: certifi in c:\users\user\appdata\local\programs\python\python310\lib\site-packages (from httpx==0.27.0->-r requirements.txt (line 3)) (2024.2.2) Requirement already satisfied: httpcore==1.* in c:\users\user\appdata\local\programs\python\python310\lib\site-packages (from httpx==0.27.0->-r requirements.txt (line 3)) (1.0.5) Requirement already satisfied: idna in c:\users\user\appdata\local\programs\python\python310\lib\site-packages (from httpx==0.27.0->-r requirements.txt (line 3)) (3.7) Requirement already satisfied: sniffio in c:\users\user\appdata\local\programs\python\python310\lib\site-packages (from httpx==0.27.0->-r requirements.txt (line 3)) (1.3.1) Requirement already satisfied: PyYAML<7.0.0,>=6.0.1 in c:\users\user\appdata\local\programs\python\python310\lib\site-packages (from pywidevine==1.8.0->-r requirements.txt (line 7)) (6.0.1) Requirement already satisfied: Unidecode<2.0.0,>=1.3.7 in c:\users\user\appdata\local\programs\python\python310\lib\site-packages (from pywidevine==1.8.0->-r requirements.txt (line 7)) (1.3.8) Requirement already satisfied: click<9.0.0,>=8.1.7 in c:\users\user\appdata\local\programs\python\python310\lib\site-packages (from pywidevine==1.8.0->-r requirements.txt (line 7)) (8.1.7) Requirement already satisfied: protobuf<5.0.0,>=4.25.1 in c:\users\user\appdata\local\programs\python\python310\lib\site-packages (from pywidevine==1.8.0->-r requirements.txt (line 7)) (4.25.3) Requirement already satisfied: pymp4<2.0.0,>=1.4.0 in c:\users\user\appdata\local\programs\python\python310\lib\site-packages (from pywidevine==1.8.0->-r requirements.txt (line 7)) (1.4.0) Requirement already satisfied: charset-normalizer<4,>=2 in c:\users\user\appdata\local\programs\python\python310\lib\site-packages (from Requests==2.31.0->-r requirements.txt (line 8)) (3.3.2) Requirement already satisfied: urllib3<3,>=1.21.1 in c:\users\user\appdata\local\programs\python\python310\lib\site-packages (from Requests==2.31.0->-r requirements.txt (line 8)) (2.2.1) Requirement already satisfied: markdown-it-py>=2.2.0 in c:\users\user\appdata\local\programs\python\python310\lib\site-packages (from rich==13.7.1->-r requirements.txt (line 9)) (3.0.0) Requirement already satisfied: pygments<3.0.0,>=2.13.0 in c:\users\user\appdata\local\programs\python\python310\lib\site-packages (from rich==13.7.1->-r requirements.txt (line 9)) (2.18.0) Requirement already satisfied: Twisted>=18.9.0 in c:\users\user\appdata\local\programs\python\python310\lib\site-packages (from Scrapy==2.11.1->-r requirements.txt (line 10)) (24.3.0) Requirement already satisfied: cryptography>=36.0.0 in c:\users\user\appdata\local\programs\python\python310\lib\site-packages (from Scrapy==2.11.1->-r requirements.txt (line 10)) (42.0.7) Requirement already satisfied: cssselect>=0.9.1 in c:\users\user\appdata\local\programs\python\python310\lib\site-packages (from Scrapy==2.11.1->-r requirements.txt (line 10)) (1.2.0) Requirement already satisfied: itemloaders>=1.0.1 in c:\users\user\appdata\local\programs\python\python310\lib\site-packages (from Scrapy==2.11.1->-r requirements.txt (line 10)) (1.2.0) Requirement already satisfied: parsel>=1.5.0 in c:\users\user\appdata\local\programs\python\python310\lib\site-packages (from Scrapy==2.11.1->-r requirements.txt (line 10)) (1.9.1) Requirement already satisfied: pyOpenSSL>=21.0.0 in c:\users\user\appdata\local\programs\python\python310\lib\site-packages (from Scrapy==2.11.1->-r requirements.txt (line 10)) (24.1.0) Requirement already satisfied: queuelib>=1.4.2 in c:\users\user\appdata\local\programs\python\python310\lib\site-packages (from Scrapy==2.11.1->-r requirements.txt (line 10)) (1.7.0) Requirement already satisfied: service-identity>=18.1.0 in c:\users\user\appdata\local\programs\python\python310\lib\site-packages (from Scrapy==2.11.1->-r requirements.txt (line 10)) (24.1.0) Requirement already satisfied: w3lib>=1.17.0 in c:\users\user\appdata\local\programs\python\python310\lib\site-packages (from Scrapy==2.11.1->-r requirements.txt (line 10)) (2.1.2) Requirement already satisfied: zope.interface>=5.1.0 in c:\users\user\appdata\local\programs\python\python310\lib\site-packages (from Scrapy==2.11.1->-r requirements.txt (line 10)) (6.4) Requirement already satisfied: protego>=0.1.15 in c:\users\user\appdata\local\programs\python\python310\lib\site-packages (from Scrapy==2.11.1->-r requirements.txt (line 10)) (0.3.1) Requirement already satisfied: itemadapter>=0.1.0 in c:\users\user\appdata\local\programs\python\python310\lib\site-packages (from Scrapy==2.11.1->-r requirements.txt (line 10)) (0.9.0) Requirement already satisfied: setuptools in c:\users\user\appdata\local\programs\python\python310\lib\site-packages (from Scrapy==2.11.1->-r requirements.txt (line 10)) (65.5.0) Requirement already satisfied: packaging in c:\users\user\appdata\local\programs\python\python310\lib\site-packages (from Scrapy==2.11.1->-r requirements.txt (line 10)) (24.0) Requirement already satisfied: tldextract in c:\users\user\appdata\local\programs\python\python310\lib\site-packages (from Scrapy==2.11.1->-r requirements.txt (line 10)) (5.1.2) Requirement already satisfied: lxml>=4.4.1 in c:\users\user\appdata\local\programs\python\python310\lib\site-packages (from Scrapy==2.11.1->-r requirements.txt (line 10)) (5.2.2) Requirement already satisfied: PyDispatcher>=2.0.5 in c:\users\user\appdata\local\programs\python\python310\lib\site-packages (from Scrapy==2.11.1->-r requirements.txt (line 10)) (2.0.7) Requirement already satisfied: trio~=0.17 in c:\users\user\appdata\local\programs\python\python310\lib\site-packages (from selenium==4.20.0->-r requirements.txt (line 12)) (0.25.1) Requirement already satisfied: trio-websocket~=0.9 in c:\users\user\appdata\local\programs\python\python310\lib\site-packages (from selenium==4.20.0->-r requirements.txt (line 12)) (0.11.1) Requirement already satisfied: typing_extensions>=4.9.0 in c:\users\user\appdata\local\programs\python\python310\lib\site-packages (from selenium==4.20.0->-r requirements.txt (line 12)) (4.11.0) Requirement already satisfied: h11<0.15,>=0.13 in c:\users\user\appdata\local\programs\python\python310\lib\site-packages (from httpcore==1.*->httpx==0.27.0->-r requirements.txt (line 3)) (0.14.0) Requirement already satisfied: colorama in c:\users\user\appdata\local\programs\python\python310\lib\site-packages (from click<9.0.0,>=8.1.7->pywidevine==1.8.0->-r requirements.txt (line 7)) (0.4.6) Requirement already satisfied: cffi>=1.12 in c:\users\user\appdata\local\programs\python\python310\lib\site-packages (from cryptography>=36.0.0->Scrapy==2.11.1->-r requirements.txt (line 10)) (1.16.0) Requirement already satisfied: mdurl~=0.1 in c:\users\user\appdata\local\programs\python\python310\lib\site-packages (from markdown-it-py>=2.2.0->rich==13.7.1->-r requirements.txt (line 9)) (0.1.2) Requirement already satisfied: construct==2.8.8 in c:\users\user\appdata\local\programs\python\python310\lib\site-packages (from pymp4<2.0.0,>=1.4.0->pywidevine==1.8.0->-r requirements.txt (line 7)) (2.8.8) Requirement already satisfied: attrs>=19.1.0 in c:\users\user\appdata\local\programs\python\python310\lib\site-packages (from service-identity>=18.1.0->Scrapy==2.11.1->-r requirements.txt (line 10)) (23.2.0) Requirement already satisfied: pyasn1 in c:\users\user\appdata\local\programs\python\python310\lib\site-packages (from service-identity>=18.1.0->Scrapy==2.11.1->-r requirements.txt (line 10)) (0.6.0) Requirement already satisfied: pyasn1-modules in c:\users\user\appdata\local\programs\python\python310\lib\site-packages (from service-identity>=18.1.0->Scrapy==2.11.1->-r requirements.txt (line 10)) (0.4.0) Requirement already satisfied: sortedcontainers in c:\users\user\appdata\local\programs\python\python310\lib\site-packages (from trio~=0.17->selenium==4.20.0->-r requirements.txt (line 12)) (2.4.0) Requirement already satisfied: outcome in c:\users\user\appdata\local\programs\python\python310\lib\site-packages (from trio~=0.17->selenium==4.20.0->-r requirements.txt (line 12)) (1.3.0.post0) Requirement already satisfied: exceptiongroup in c:\users\user\appdata\local\programs\python\python310\lib\site-packages (from trio~=0.17->selenium==4.20.0->-r requirements.txt (line 12)) (1.2.1) Requirement already satisfied: wsproto>=0.14 in c:\users\user\appdata\local\programs\python\python310\lib\site-packages (from trio-websocket~=0.9->selenium==4.20.0->-r requirements.txt (line 12)) (1.2.0) Requirement already satisfied: automat>=0.8.0 in c:\users\user\appdata\local\programs\python\python310\lib\site-packages (from Twisted>=18.9.0->Scrapy==2.11.1->-r requirements.txt (line 10)) (22.10.0) Requirement already satisfied: constantly>=15.1 in c:\users\user\appdata\local\programs\python\python310\lib\site-packages (from Twisted>=18.9.0->Scrapy==2.11.1->-r requirements.txt (line 10)) (23.10.4) Requirement already satisfied: hyperlink>=17.1.1 in c:\users\user\appdata\local\programs\python\python310\lib\site-packages (from Twisted>=18.9.0->Scrapy==2.11.1->-r requirements.txt (line 10)) (21.0.0) Requirement already satisfied: incremental>=22.10.0 in c:\users\user\appdata\local\programs\python\python310\lib\site-packages (from Twisted>=18.9.0->Scrapy==2.11.1->-r requirements.txt (line 10)) (22.10.0) Requirement already satisfied: twisted-iocpsupport<2,>=1.0.2 in c:\users\user\appdata\local\programs\python\python310\lib\site-packages (from Twisted>=18.9.0->Scrapy==2.11.1->-r requirements.txt (line 10)) (1.0.4) Requirement already satisfied: pysocks!=1.5.7,<2.0,>=1.5.6 in c:\users\user\appdata\local\programs\python\python310\lib\site-packages (from urllib3[socks]<3,>=1.26->selenium==4.20.0->-r requirements.txt (line 12)) (1.7.1) Requirement already satisfied: requests-file>=1.4 in c:\users\user\appdata\local\programs\python\python310\lib\site-packages (from tldextract->Scrapy==2.11.1->-r requirements.txt (line 10)) (2.0.0) Requirement already satisfied: filelock>=3.0.8 in c:\users\user\appdata\local\programs\python\python310\lib\site-packages (from tldextract->Scrapy==2.11.1->-r requirements.txt (line 10)) (3.13.4) Requirement already satisfied: six in c:\users\user\appdata\local\programs\python\python310\lib\site-packages (from automat>=0.8.0->Twisted>=18.9.0->Scrapy==2.11.1->-r requirements.txt (line 10)) (1.16.0) Requirement already satisfied: pycparser in c:\users\user\appdata\local\programs\python\python310\lib\site-packages (from cffi>=1.12->cryptography>=36.0.0->Scrapy==2.11.1->-r requirements.txt (line 10)) (2.22)
I have also checked the PATH for "config.py"
Code:nano .\ukfta\configs\config.py
Here is what I have done:
#Download
Code:aria2c https://files.videohelp.com/u/301890/uk-fta_14_3.zip --dir $home\Downloads\ tar -xzvf $home\Downloads\uk-fta_14_3.zip -C $home\git\ ls $home\git\UK* mv $home\git\UK-FTA $home\git\UK-FTA.14.3 cd $home\git\UK-FTA.14.3
#Checked all Dependencies are Installed:
Code:py -3.10 -V py -3.10 -m pip -V ffmpeg -version; ffprobe -version; mp4decrypt; N_m3u8DL-RE --version; mkvmerge --version; shaka-packager -version; #Fin;
#Updated Python PIP in version 3.10
Code:py -3.10 -m pip install --upgrade pip
py -3.10 -m venv env
Code:.\env\Scripts\activate py -3.10 -m pip install -r requirements.txt
(from inside UK-FTA folder)
cd $home\git\UK-FTA.14.3
py -3.10 -m menu.py -
My5 auto-updates.
Updating from the menu is only provided if auto-update fails. The README says as much. Your machine installation reporting no selenium is strange when it is clearly listed but it indicates you have made an error.
When a module is reported missing but it is already installed it usually means the user has confused themselves over environments. And a script is calling a program that uses selenium from an environment that doesn't actually have it installed.
For UK-FTA create a new env and activate it. THEN do the pip install -r requirements.txt.
I note you are calling python from source C:\Users\user\AppData\Local\Programs\Python\Python 310\python.exe - that looks to be unusual. Why? It should be in Path as python.
When you do call it, properly you use py -3.10. That is incompatible with the top level menu - it calls scripts by 'python script <script-name>
Unless 'python' produces
Code:Python 3.12.3 (tags/v3.12.3:f6650f9, Apr 9 2024, 14:05:25) [MSC v.1938 64 bit (AMD64)] on win32 Type "help", "copyright", "credits" or "license" for more information. >>>
Last edited by A_n_g_e_l_a; 17th May 2024 at 12:03.
Noob Starter Pack. Just download every Widevine mpd! Not kidding!.
https://files.videohelp.com/u/301890/hellyes6.zip -
Reading README it states:
## Requirements
* Python 3.10.*
So I am assuming it only works with version 3.10.* of Python,
is that correct or is it Python 3.10+ up to the latest?
I don't think I have non-standard system
unless having Multiple (two 3.10 and 3.12) Major Versions of Python Package is classed as non-standard ....
I have deleted the DIR
rm $home\git\UK-FTA.14.3
and tried the whole installation using py 3.10 again and when installing same message
about already installed dependencies appeared so I may not be using the set-up
with Multiple Major Versions of Python Package correctly .........
and as you rightly say so..... (just trying to get my head around it) ...... -
Last edited by A_n_g_e_l_a; 17th May 2024 at 13:38.
Noob Starter Pack. Just download every Widevine mpd! Not kidding!.
https://files.videohelp.com/u/301890/hellyes6.zip -
Hi @A_n_g_e_l_a using 14.3 and trying to use My5 I get the following error:
HTML Code:Which Channel? module 'time' has no attribute 'clock_gettime'
-
Runs on my system but apparently is now deprecated.
So.. find autohmac.py in UK-FTA/ukfta/my5_dl/keys and change
line 19
time_stamp = blah-blah to
Code:time_stamp = int(time.time_ns() // 1_000_000_000)
If your editor does not give line numbers search for 'time_stamp'Last edited by A_n_g_e_l_a; 18th May 2024 at 13:32.
Noob Starter Pack. Just download every Widevine mpd! Not kidding!.
https://files.videohelp.com/u/301890/hellyes6.zip -
Noob Starter Pack. Just download every Widevine mpd! Not kidding!.
https://files.videohelp.com/u/301890/hellyes6.zip -
Thanx for clarification.
I have tried 3.12.x and all works (also had to install windows-curses package)
apart from My5 and the error that @Akirainblack has with My5.
I think I may have made a progress when it comes to having
"Multiple (two 3.10 and 3.12) Major Versions of Python Package".
#3.12.*
Code:pip install --upgrade pip
Code:py -m venv env .\env\Scripts\activate
py -m venv $home\git\UK-FTA.14.3\
Code:cat .\env\pyvenv.cfg pip install -r requirements.txt pip install windows-curses
Code:py -V py -m pip -V py menu.py
and
#3.10.*
#3.10
Code:py -3.10 -m venv env .\env\Scripts\activate cat .\env\pyvenv.cfg py -m pip install --upgrade pip pip install -r requirements.txt pip install windows-curses
Code:py -V py -m pip -V py menu.py
#ERROR | SOLVED = "pip install windows-curses"
Code:Traceback (most recent call last): File "C:\Users\user\git\UK-FTA.14.3\ukfta\c4_dl\chan4_loader.py", line 18, in <module> import C4 File "C:\Users\user\git\UK-FTA.14.3\ukfta\c4_dl\C4.py", line 28, in <module> import curses File "C:\Users\user\AppData\Local\Programs\Python\Python312\Lib\curses\__init__.py", line 13, in <module> from _curses import * ModuleNotFoundError: No module named '_curses'
#My5 #ERROR | NO SOLLUTION YET
Code:(env) PS C:\Users\user\git\UK-FTA.14.3> py menu.py __ ____ __ _____________ / / / / //_/___/ __/_ __/ _ | / /_/ / ,< /___/ _/ / / / __ | \____/_/|_| /_/ /_/ /_/ |_| Choose Your Search, Selector and Downloader. Which Channel? module 'time' has no attribute 'clock_gettime'
An interesting settings when creating VENV
Code:cat .\env\pyvenv.cfg
Code:home = C:\Users\user\AppData\Local\Programs\Python\Python312 include-system-site-packages = false version = 3.12.3 executable = C:\Users\user\AppData\Local\Programs\Python\Python312\python.exe command = C:\Users\user\AppData\Local\Programs\Python\Python312\python.exe -m venv C:\Users\user\git\UK-FTA.14.3\env
While 3.10 only has this settings:
Code:home = C:\Users\user\AppData\Local\Programs\Python\Python310 include-system-site-packages = false version = 3.10.11
-
Code:nano +19 .\ukfta\my5_dl\keys\autohmac.py
Code:(env) PS C:\Users\user\git\UK-FTA.14.3> py menu.py Traceback (most recent call last): File "C:\Users\user\git\UK-FTA.14.3\menu.py", line 6, in <module> from ukfta.my5_dl.keys.autohmac import Sethmackey as S File "C:\Users\user\git\UK-FTA.14.3\ukfta\my5_dl\keys\autohmac.py", line 20 time_stamp = int(time.time_ns() // 1_000_000_000) TabError: inconsistent use of tabs and spaces in indentation
Code:(env) PS C:\Users\user\git\UK-FTA.14.3> cat .\ukfta\my5_dl\keys\autohmac.py # A_n_g_e_l_a import time from httpx import Client import requests import time import json client = Client() class Sethmackey: def __init__(self): file = r'ukfta/my5_dl/config.py' # Thanks stabbedbybrick for hosting this res = requests.get(f"https://gist.githubusercontent.com/stabbedbybrick/8726c719721eac50a28f7bc3c94f18e9/raw/s.txt") res = json.loads(res.text) hmac = f'''HMAC_SECRET = "{res['hmac']}"''' aes = f'''AES_KEY = "{res['key']}"''' #time_stamp = int(time.clock_gettime(0)) time_stamp = int(time.time_ns() // 1_000_000_000) # replacements to make text1 = f'{hmac}\n' text2 = f'{aes}\n' text3 = f"{time_stamp}\n" # replace_line(<path to your file> , <line number to change> < text to insert>) # line numbers in text count from 0 self.replace_line(file, 1 , text1) self.replace_line(file, 2 , text2) self.replace_line(file, 3 , text3) return def replace_line(self,file_name, line_num, text): lines = open(file_name, 'r').readlines() lines[line_num] = text out = open(file_name, 'w') out.writelines(lines) out.close() return if __name__ == '__main__': Sethmackey()
-
I will release the update tomorrow if you are having indentation issues. It looks to be in autohymac.py. I use tabs to indent and you may have used spaces. Python does not like mixing tabs and spaces and without a good python editor the error is hard to spot..
Noob Starter Pack. Just download every Widevine mpd! Not kidding!.
https://files.videohelp.com/u/301890/hellyes6.zip -
Thank you very much in advance, great project ...
Coincidentally I was just thinking about that ...
..
[Attachment 79249 - Click to enlarge]
As you can see I have used TAB to show you there is no spaces ...
Here if I press "DELETE" key once twice ..
[Attachment 79250 - Click to enlarge]
Here is VSCode:
Code:code .\ukfta\my5_dl\keys\autohmac.py
[Attachment 79252 - Click to enlarge] -
Looks like a minor bug in the C4.py script.
Trying to download an IT Crowd Episode. S01E01 Yesterday's Jam
There is a ' in the episode name that isn't being cleaned properly.
The files all download and decrypt correctly, but don't MUX.
Spits out a " Could not find color or style 'Yesterday' " error. -
Thanks for the report. I've seen that on another channel; the module Rich can determine which colour to print by parsing colour-names encased in [] . When it sees something like [ak47] it throws a wobbly. I'll release a fix later today hopefully.
EDIT: When I ran it just to check it all parsed OK on my system and the title looked like this 'The_IT_Crowd_[Yesterday]_S01E01.mkv' But I'll fix it, no problem.Last edited by A_n_g_e_l_a; 19th May 2024 at 03:23.
Noob Starter Pack. Just download every Widevine mpd! Not kidding!.
https://files.videohelp.com/u/301890/hellyes6.zip -
EDIT: When I ran it just to check it all parsed OK on my system and the title looked like this 'The_IT_Crowd_[Yesterday]_S01E01.mkv' But I'll fix it, no problem.
I just realised I was running Python 3.9.
Updated to 3.12 and the bug was gone, but then reappeared on the next episode.Last edited by davebee; 19th May 2024 at 04:50.
-
Noob Starter Pack. Just download every Widevine mpd! Not kidding!.
https://files.videohelp.com/u/301890/hellyes6.zip -
Noob Starter Pack. Just download every Widevine mpd! Not kidding!.
https://files.videohelp.com/u/301890/hellyes6.zip -
bug fix update https://files.videohelp.com/u/301890/uk-fta-14_4.zip
Noob Starter Pack. Just download every Widevine mpd! Not kidding!.
https://files.videohelp.com/u/301890/hellyes6.zip -
@A_n_g_e_l_a thank you, a quick check and it seems to be working perfectly on my Windows 11 box, same on my Ubuntu box.
Thanks for all your work on this.Last edited by Akirainblack; 19th May 2024 at 09:34.
-
I know this might be a stupid question but will this code be able to be created into a GUI similar to freevine for the amateur users who still getting their heads around python coding.
Last edited by Danker1990; 19th May 2024 at 12:26.
-
We are all amateur users, but no, it cannot be easily adapted.
I'm a little non-plussed you should want to? And Devine (freevine parent) isn't a GUI - it takes command line arguments.
One style requires you to remember the strings for the command-line arguments - different for each channel before it will successfully download.
The other, UK-FTA, is already a text-based GUI with which it is possible to download without entering any text from the keyboard at all. It follows a menu system and allows a point and click approach to finding what you want from selecting screened alternates. You do not need to remember any arguments; the only text you need to type is a search term 'Coronation Street' - maybe. And if you wish you can paste a page url from the channel to display everything in the series for that url.
Can you help me understand the user-base by describing the advantage that you see in the Devine approach?Last edited by A_n_g_e_l_a; 19th May 2024 at 13:29.
Noob Starter Pack. Just download every Widevine mpd! Not kidding!.
https://files.videohelp.com/u/301890/hellyes6.zip -
Sure,
I have been using Click, Click, Click, Click method on Windows for XX years and like many other people
don't like change.
So instead of using my brain I like to Click, Click, Click, Click instead of thinking about what it does
and how to get it working, because with GUI I hope I would not need to use the CLIand read
the 9 pages this thread has and/or learn how to install Python and other Requirements/Dependencies
even that it has been covered in the Video Stream Downloading section numerous times .... -
I get where people are coming from asking for a GUI having developed the FreevineGUI to go with stabby's excellent code. I wanted something simple to click a few buttons to download what I wanted BUT and this is a big but, I spent several weeks understanding the ins and outs of how all this stuff worked before I built my GUI, so I understood mostly exactly what was going on.
Now Angela's excellent code gave me the understanding of how the simple sites, especially using boltdns framework work, and I've since built my own GUI that utilizes all the underlying code to again make it simple for me to use. But I'm really reluctant to release it into the wild for others as I'm torn in that they should also make that learning journey like many of us have done
[Attachment 79275 - Click to enlarge] -
Well the code I put up in the 'Doom' series two years ago has borne fruit with you. And very well done.
And thanks for the feedback
But you are a minority; most users here appear reluctant to learn to code. Or even reluctant to follow instructions to download helper programs to get a complex suite of scripts to function. But that is fine; I think there should be a barrier to entry. Even though the barrier is erected by the user sabotaging themselves, assuming the task will be too difficult for them.
It is horrible indictment of the Education Systems across the World that people finish their education with a 'cannot do that / wont even try' mind set.Noob Starter Pack. Just download every Widevine mpd! Not kidding!.
https://files.videohelp.com/u/301890/hellyes6.zip
Similar Threads
-
Hot air on the tape.
By Litaiff in forum Capturing and VCRReplies: 2Last Post: 24th Jan 2023, 12:43 -
4K Video Downloader free or money?
By Jomapil1 in forum Video Streaming DownloadingReplies: 8Last Post: 29th Sep 2020, 10:33 -
Simplest and quickest free video downloader ?
By arcadianne in forum Newbie / General discussionsReplies: 28Last Post: 27th Feb 2019, 20:29 -
Using TV downloader
By frankopstaele in forum Newbie / General discussionsReplies: 0Last Post: 2nd Feb 2019, 18:44 -
Downloading Ustream Off-Air / No Videos?
By lemonmellow in forum Video Streaming DownloadingReplies: 1Last Post: 25th Oct 2018, 10:42