That is impossible to diagnose from the sparse information given. With the change to the menu there has also been a change to ITV, my5loader.py and my5getter.py. Perhaps something got mixed up?
If starting again with a UK-FTA13.4 and updating ITV, Channel5 and menu is too much, you'll need to wait until I release another UK-FTA eventually.
Or since the menu updates the HMAC secret and AES key you could add those to freevine by hand in the code. Or even add my key-getter routine to the freevine code. But, I guess that is a non-starter.
+ Reply to Thread
Results 181 to 210 of 614
-
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 I'm running python312 and am trying to install your script but I'm getting this error when I try and install the requirements, I've tried this in normal and elevated command prompt.
pip install -r requirements.txt
ERROR: Ignored the following yanked versions: 3.5.0, 3.5.1, 3.5.2, 3.5.3b0, 3.5.3
ERROR: Ignored the following versions that require a different python version: 3.7.2 Requires-Python >=3.7.8,<3.12
ERROR: Could not find a version that satisfies the requirement beaupy==3.7.2 (from versions: 0.1.7, 0.1.8, 1.0.0, 1.0.1, 1.0.2, 1.0.3, 1.2.0, 1.3.1, 1.4.0, 1.5.0, 2.0.0, 2.1.0, 3.0.0, 3.1.0, 3.1.1, 3.2.0, 3.3.0, 3.4.0, 3.5.4, 3.6.0, 3.6.1, 3.7.0, 3.7.1, 3.7.3, 3.8.0, 3.8.1, 3.8.2)
ERROR: No matching distribution found for beaupy==3.7.2 -
I wish there was more to this error message, I've no idea to which file it might be referring. I'd hoped it was some sort of debug out message that you'd recognize. This was a new install and I'd already manually updated those keys. Other channels are working (at least as far as the next screen in the menu) so it's something in the C5 script. Anyway, thanks for your reply, I'll patiently await the next version.
-
-
-
-
I really, really, really, recommend updating beaupy to 3.8.2
It allows you to toggle the selection of items for download from select-all to select-none, just by pressing 'a' on the keyboard. Also I'm now programming in other features from beaupy 3.8.2 - for example better colour choices - so backwards compatibility might become an issue.Noob Starter Pack. Just download every Widevine mpd! Not kidding!.
https://files.videohelp.com/u/301890/hellyes6.zip -
I tried to run the Update My5 and got this error
Traceback (most recent call last):
File "D:\Web-DL-Stuff\uk-fta_13.4\UK-FTA\ukfta\my5_dl\hmac-aes-update.py", line 36, in <module>
driver.get(f"{LOCATION_RETRIEVE_KEYS_HTML}")
File "C:\Python312\Lib\site-packages\selenium\webdriver\remote\webdriver.py", line 356, in get
self.execute(Command.GET, {"url": url})
File "C:\Python312\Lib\site-packages\selenium\webdriver\remote\webdriver.py", line 347, in execute
self.error_handler.check_response(response)
File "C:\Python312\Lib\site-packages\selenium\webdriver\remote\errorhandler.py ", line 229, in check_response
raise exception_class(message, screen, stacktrace)
selenium.common.exceptions.TimeoutException: Message: Navigation timed out after 300000 ms
Stacktrace:
RemoteError@chrome://remote/content/shared/RemoteError.sys.mjs:8:8
WebDriverError@chrome://remote/content/shared/webdriver/Errors.sys.mjs:193:5
TimeoutError@chrome://remote/content/shared/webdriver/Errors.sys.mjs:740:5
bail@chrome://remote/content/marionette/sync.sys.mjs:211:19 -
-
-
Hi Angela,
More of a safety advice question for you if you don't mind helping with. I've been updating a few items to keep your ukfta up to date,.. First was to update beaupy to the latest version. 2nd was the update of menu and itv 2.2.
I've read the info about ch5 but before I could use "update my5" I encountered a request for an updated version of geckodriver.exe.
My exact output was the following:
The geckodriver version (0.33.0) detected in PATH at C:\UK-FTA2\geckodriver.exe might not be compatible with the detected firefox version (125.0.3); currently, geckodriver 0.34.0 is recommended for firefox 125.*, so it is advised to delete the driver in PATH and retry
I Just wanted to ask where I could get a "safe" version of said geckodriver from please.
-----------------
Did a bit of scouring.... and came across the 32bit version here.. https://github.com/mozilla/geckodriver/releases
all good to go except for a damned error...
I've placed the 32bit version into my fta folder.... but as mentioned i get an error when trying to only update ch5.
C:\UK-FTA2>menu.py
←[32m __ ____ __ _____________
/ / / / //_/___/ __/_ __/ _ |
/ /_/ / ,< /___/ _/ / / / __ |
\____/_/|_| /_/ /_/ /_/ |_|
←[0m
←[31mChoose Your Search, Selector and Downloader.
←[0m
←[32mWhich Channel?←[0m
Traceback (most recent call last):
File "C:\UK-FTA2\ukfta\my5_dl\hmac-aes-update.py", line 34, in <module>
driver = webdriver.Firefox(options=options)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\Westhamboy\AppData\Local\Programs\Python \Python311\Lib\site-packages\selenium\webdriver\firefox\webdriver.py", line 67, in __init__
super().__init__(command_executor=executor, options=options)
File "C:\Users\Westhamboy\AppData\Local\Programs\Python \Python311\Lib\site-packages\selenium\webdriver\remote\webdriver.py", line 208, in __init__
self.start_session(capabilities)
File "C:\Users\Westhamboy\AppData\Local\Programs\Python \Python311\Lib\site-packages\selenium\webdriver\remote\webdriver.py", line 292, in start_session
response = self.execute(Command.NEW_SESSION, caps)["value"]
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\Westhamboy\AppData\Local\Programs\Python \Python311\Lib\site-packages\selenium\webdriver\remote\webdriver.py", line 347, in execute
self.error_handler.check_response(response)
File "C:\Users\Westhamboy\AppData\Local\Programs\Python \Python311\Lib\site-packages\selenium\webdriver\remote\errorhandler.py ", line 229, in check_response
raise exception_class(message, screen, stacktrace)
selenium.common.exceptions.SessionNotCreatedExcept ion: Message: Expected browser binary location, but unable to find binary in default location, no 'moz:firefoxOptions.binary' capability provided, and no binary flag set on the command line
----------------
(I'm wondering if the bit right at the end has something to do with firefox being v 125.0.3Last edited by LastResort; 9th May 2024 at 14:12. Reason: Edit...
-
Tried a Google search? Please make that your first call.
Mine turned up this from 7 years ago https://stackoverflow.com/questions/43660195/why-firefox-requires-geckodriver but there was nothing returned for a search limited to the past year.
As I suggested I believe Selenium takes care of everything in new installs.
I did a clean install of my OS early in the New Year and have never knowingly installed a Geckodriver. But I do use Firefox as my daily browser.
I would do what the error message suggests and remove the old driver from Path. My selenium version is 4.20.0. And I also configured selenium to use a Chrome driver in one script and never needed to find a driver for that either. 'pip install selenium --upgrade'Noob Starter Pack. Just download every Widevine mpd! Not kidding!.
https://files.videohelp.com/u/301890/hellyes6.zip -
Sorry Angela.... Left the page open way too long whilst reading and didn't get to see your post..... my apologies.
ahhh okay... my selenium is v 4.15.2
i'll get it done.Last edited by LastResort; 9th May 2024 at 14:16. Reason: edit
-
Hi Angela, I've just been testing the BBC script but and getting a problem it all looks to be working okay, I select what episodes I want by ticking the boxes then hit enter it says loading and finishes really quickly and get-iplayer leaves a folder on my desktop - iPlayer Recordings with just the .srt subs.
Have I missed something in my config somewhere for is a bug?
Thank you for the help Angela, amazing script. -
All updated...
Tried to get "5" to update AES and HMAC but returned the following error..
C:\UK-FTA2>menu.py
←[32m __ ____ __ _____________
/ / / / //_/___/ __/_ __/ _ |
/ /_/ / ,< /___/ _/ / / / __ |
\____/_/|_| /_/ /_/ /_/ |_|
←[0m
←[31mChoose Your Search, Selector and Downloader.
←[0m
←[32mWhich Channel?←[0m
Traceback (most recent call last):
File "C:\Users\Westhamboy\AppData\Local\Programs\Python \Python311\Lib\site-packages\selenium\webdriver\common\driver_finder.p y", line 75, in _binary_paths
raise ValueError(f'The browser path is not a valid file: {output["browser_path"]}')
ValueError: The browser path is not a valid file:
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "C:\UK-FTA2\ukfta\my5_dl\hmac-aes-update.py", line 34, in <module>
driver = webdriver.Firefox(options=options)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\Westhamboy\AppData\Local\Programs\Python \Python311\Lib\site-packages\selenium\webdriver\firefox\webdriver.py", line 60, in __init__
if finder.get_browser_path():
^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\Westhamboy\AppData\Local\Programs\Python \Python311\Lib\site-packages\selenium\webdriver\common\driver_finder.p y", line 47, in get_browser_path
return self._binary_paths()["browser_path"]
^^^^^^^^^^^^^^^^^^^^
File "C:\Users\Westhamboy\AppData\Local\Programs\Python \Python311\Lib\site-packages\selenium\webdriver\common\driver_finder.p y", line 78, in _binary_paths
raise NoSuchDriverException(msg) from err
selenium.common.exceptions.NoSuchDriverException: Message: Unable to obtain driver for firefox; For documentation on this error, please visit: https://www.selenium.dev/documentation/webdriver/troubleshooting/errors/driver_location
----------------
This is very strange because it was working fine. -
Hi Angela,
For some unknown reason my5 just will not update the necessary keys required from the menu, not without throwing up an error,... So probably not the right thing to do but I ran retrieve-keys.html and manually updated config.py and all is well in the land of my5. (Just wish I could get my head around the errors that get thrown up). -
Noob Starter Pack. Just download every Widevine mpd! Not kidding!.
https://files.videohelp.com/u/301890/hellyes6.zip -
-
Hi all,
After what seems like hours scouring the net searching for sections of code that may be relevant to the error that gets thrown up,.. I was hoping that someone could point to where this code may be wrong....
[Attachment 79010 - Click to enlarge]
I have tried running the update from the menu, and I get the same error message, So I tried running it on it's own, and i get exactly the same error message. I have tried various methods of forward slash, double forward slash, backward slash, (only in the areas that required manually editing,... I found my old post but the code has changed since then,.... I do wish their was a way of watching the code run and seeing where it goes wrong,... I have come to the conclusion that wherever I look many people have their own way of writing the same piece of code.
Selenium is uptodate,... and if i run geckodriver.exe that shows an cmd prompt with 1715392960691 geckodriver INFO Listening on 127.0.0.1:4444 So I'm assuming that's working correctly. Advice, pointers, or any general help would be very helpful. (Yes I can manually update the keys, but I am desperate to see how this actually works and why I receive the error. Many thanks chaps. -
I updated mine okay the other day, not sure if I can help but things I did was updated all requirements.txt to the latest versions made sure all my ukfta scripts were up to date.
is your config definitely set right in hmac-aes-update, example of mine.
LOCATION_RETRIEVE_KEYS_HTML = r"D:/Web-DL-Stuff/uk-fta_13.4/UK-FTA/ukfta/my5_dl/keys/retrieve-keys.html"
file = r'D:/Web-DL-Stuff/uk-fta_13.4/UK-FTA/ukfta/my5_dl/config.py'
I got errors before I set these correctly, hope this can be of some help to you.Last edited by kev043; 11th May 2024 at 04:11.
-
Hi Kev043,
My original hmac before the main menu was updated began like this LOCATION_RETRIEVE_KEYS_HTML = r"file://C:/UK-FTA2/ukfta/my5_dl/retrieve-keys.html"
and file = r'C://UK-FTA2/ukfta/my5_dl/config.py'
Are you Linux or Win??
I've checked to make sure all Modules that are required are uptodate.... (incidentally it's only ch5 that I have a problem with).. Yes can update manually but I've now become like a dog with a bone..... trying to understand what the problem could be.
First things first I shall mimic you hmac but with my location and give it a test.... Thanks for the help Kev043..
Tried it your way Kev043... Exactly the same error as before.
Reading the error I'm guessing that this is the cause or the error:
Traceback (most recent call last):
File "C:\Users\Westhamboy\AppData\Local\Programs\Python \Python311\Lib\site-packages\selenium\webdriver\common\driver_finder.p y", line 75, in _binary_paths
raise ValueError(f'The browser path is not a valid file: {output["browser_path"]}')
ValueError: The browser path is not a valid file:
The above exception was the direct cause of the following exception:
I'm now wondering if this is due to upgrading Selenium... (although this is simply guesswork).
Line 75 from driver_finder.py from selenium
[Attachment 79019 - Click to enlarge]
The more I read the error the more confused I get... How can a Path be a file?? it doesn't make any sense.Last edited by LastResort; 11th May 2024 at 07:14. Reason: Head Banging..
-
Hi LastResort, I'm running it on a Windows 11 system, if things are going a bit weird, I tend to fire up a clean install of windows 11 in a virtual machine as a test environment and try things in that because depending on what mv is running you can make snapshots and revert back if somthing doesn't work.
have you updated the my5getter.py ? not sure if this helps I'm using python3 v3.12.3Last edited by kev043; 11th May 2024 at 08:17.
-
I'm sure the my5getter.py does not need touching, as it's working fine,.. I'm just trying to figure out why the updater will not update. (Yes, I can manually update config.py with the relevant keys, I'm just trying to learn why the hmac-aes-update.py is not working correctly. Yes it's trivial, but I'm desperate to see what is causing the failure to update the keys.
-
I'm getting the following error using UK-FTA to download an episode of a show from All4.
I was able to grab the episode using freevine but not UK-FTA. I'm wondering if this is because freevine requires a profile with a username and password to login for All4 but UK-FTA does not?
Here's the error:
```
Enter a video url with a number of the form xxxxxx-xxx at the end
https://www.channel4.com/programmes/our-welsh-chapel-dream/on-demand/75962-003
[!] Failed getting VOD stream !!!
Traceback (most recent call last):
File "/home/evan/Documents/UK-FTA/ukfta/c4_dl/C4.py", line 556, in <module>
main(url)
File "/home/evan/Documents/UK-FTA/ukfta/c4_dl/C4.py", line 468, in main
encrypted_vod_stream = get_vod_stream(target)
^^^^^^^^^^^^^^^^^^^^^^
File "/home/evan/Documents/UK-FTA/ukfta/c4_dl/C4.py", line 222, in
get_vod_stream
uri = myjson['videoProfiles'][0]['streams'][0]['uri']
~~~~~~^^^^^^^^^^^^^^^^^
KeyError: 'videoProfiles'
``` -
Hi evbuk1 I don't have my username and password set for ALL4 and it's working fine, are all of your scripts for UK-FTA on this thread up to date?
-
It throws an error for me too. But there is no need with UK-FTA to sign in to any provider. But I note episode 1 and two download without error. Something not standard in All4's response is my guess. I will add it to my ever growing to-do list.
@kev043 are you saying the link https://www.channel4.com/programmes/our-welsh-chapel-dream/on-demand/75962-003 works for you?Last edited by A_n_g_e_l_a; 13th May 2024 at 06:20.
Noob Starter Pack. Just download every Widevine mpd! Not kidding!.
https://files.videohelp.com/u/301890/hellyes6.zip -
I've taken a closer look at the All4 issue and conclude it is an error with All4 not having the data on the endpoint I'm using.
This code "https://api.channel4.com/online/v1/vod/stream/"+target+"?client=android-mod" produces a result when the target is episode 1 or 2 (75962-001, 75962-002)
but when I use target with value 75962-003 it returns {'code': 10201, 'message': 'No asset data found.'}
There is no easy way around that without changing my endpoints a re-writing all the code.Noob Starter Pack. Just download every Widevine mpd! Not kidding!.
https://files.videohelp.com/u/301890/hellyes6.zip -
Hoping someone more skilled in Python than me can help with this one.
I'm editing the slimuktvp.py file to automatically specify 720p using N_m3u8DL-RE, but cannot for the life of me get it to accept the --select-video res="1280"' command.
I've commented out the '--auto-select', line.
Added the following:
Code:'--select-video res="1280"',
Pretty sure it's caused by the double quotes, but cannot find a workaround for it.
Any suggestions?
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