Ace work on all this. Just chipping in on the DSCP single episode thing, I'd actually use it for several "on demand" / "replays" for some sporting events. When using the TV app, finding them and resuming is such a pain as they are so menu embedded etc. Whizzing them through devine dl and into personal server would be much easier to track where we're at with the events.
It's no significant issue - but thought I'd nod in agreement to the above posts.
Thanks for everything all, reading these threads has really been a pleasure.
+ Reply to Thread
Results 451 to 480 of 1565
-
-
Same here. I've tried different BBC shows but I got this error:
Code:/ __ \/ ____/ | / / _/ | / / ____/ / / / / __/ | | / // // |/ / __/ / /_/ / /___ | |/ // // /| / /___ /_____/_____/ |___/___/_/ |_/_____/ ⠀ v3.3.3 Copyright © 2019-2024 rlaphoenix https://github.com/devine-dl/devine Service Config loaded Loaded Cdm Widevine CDM: 4464 (L3) Loaded 1 Vaults ─────────────────────────────── Service: iP ──────────────────────────────── Service is not Geoblocked in your region ─────────────────────────── Series: The One Show ─────────────────────────── 1 Season, 1 Episode ────────────────────── The One Show S00E00 20/06/2024 ────────────────────── ╭───────────────────── Traceback (most recent call last) ──────────────────────╮ │ C:\___\.venv\Scripts\\devine:6 in │ │ <module> │ │ │ │ 3 from devine.core.__main__ import main │ │ 4 │ │ 5 if __name__ == '__main__': │ │ ❱ 6 │ sys.exit(main()) │ │ 7 │ │ │ │ C:\___\devine\.venv\Lib\site-packages\click\cor │ │ e.py:1157 in __call__ │ │ │ │ C:\___\devine\.venv\Lib\site-packages\click\cor │ │ e.py:1078 in main │ │ │ │ C:\___\devine\.venv\Lib\site-packages\click\cor │ │ e.py:1688 in invoke │ │ │ │ C:\___\devine\.venv\Lib\site-packages\click\cor │ │ e.py:1688 in invoke │ │ │ │ C:\___\devine\.venv\Lib\site-packages\click\cor │ │ e.py:1657 in _process_result │ │ │ │ C:\___\devine\.venv\Lib\site-packages\click\cor │ │ e.py:783 in invoke │ │ │ │ C:\___\devine\devine\commands\dl.py:342 in │ │ result │ │ │ │ 339 │ │ │ │ events.subscribe(events.Types.TRACK_MULTIPLEX, service │ │ 340 │ │ │ │ │ 341 │ │ │ with console.status("Getting tracks...", spinner="dots"): │ │ ❱ 342 │ │ │ │ title.tracks.add(service.get_tracks(title), warn_only= │ │ 343 │ │ │ │ title.tracks.chapters = service.get_chapters(title) │ │ 344 │ │ │ │ │ 345 │ │ │ # strip SDH subs to non-SDH if no equivalent same-lang non │ │ │ │ C:\___\devine\devine\services\iP\__init__.py:19 │ │ 1 in get_tracks │ │ │ │ 188 │ │ if connection["transferFormat"] == "dash": │ │ 189 │ │ │ tracks = DASH.from_url(url=connection["href"], session=sel │ │ 190 │ │ elif connection["transferFormat"] == "hls": │ │ ❱ 191 │ │ │ tracks = HLS.from_url(url=connection["href"], session=self │ │ 192 │ │ else: │ │ 193 │ │ │ raise ValueError(f"Unsupported video media transfer format │ │ 194 │ │ │ │ C:\___\devine\devine\core\manifests\hls.py:57 │ │ in from_url │ │ │ │ 54 │ │ │ │ 55 │ │ res = session.get(url, **args) │ │ 56 │ │ if not res.ok: │ │ ❱ 57 │ │ │ raise requests.ConnectionError( │ │ 58 │ │ │ │ "Failed to request the M3U(8) document.", │ │ 59 │ │ │ │ response=res │ │ 60 │ │ │ ) │ ╰──────────────────────────────────────────────────────────────────────────────╯ ConnectionError: Failed to request the M3U(8) document.
I'm aware there are other ways to download from BBC, and I've already used them. Just wanted to know the reason behind this error. -
It's your VPN. The streams fetched by the script is not the same as in browser, and iPlayer is notorious for being annoying when it comes to detecting proxies.
It works fine with a valid IP:
[Attachment 80088 - Click to enlarge] -
Last edited by Isotta; 22nd Jun 2024 at 17:06.
-
Hi all, I installed devine, downloaded the dependencies and added it to my devine install directory, setup my devine.yaml, services, and wvd. I checked 'devine cfg --list' and it showed that it recognized everything. So then I went ahead and tried a simple download from PlutoTV:
Code:devine PLUTO "https://pluto.tv/ca/on-demand/series/664dfea341d4c70014719cf8/season/1/episode/664e25f9112397001427d11e"
┌───────────────────── Traceback (most recent call last) ──────────────────────┐
│ c:\users\USER\appdata\local\programs\python\python 39\lib\runpy.py:197 │
│ in _run_module_as_main │
│ │
│ 194 │ main_globals = sys.modules["__main__"].__dict__ │
│ 195 │ if alter_argv: │
│ 196 │ │ sys.argv[0] = mod_spec.origin │
│ > 197 │ return _run_code(code, main_globals, None, │
│ 198 │ │ │ │ │ "__main__", mod_spec) │
│ 199 │
│ 200 def run_module(mod_name, init_globals=None, │
│ │
│ c:\users\USER\appdata\local\programs\python\python 39\lib\runpy.py:87 │
│ in _run_code │
│ │
│ 84 │ │ │ │ │ __loader__ = loader, │
│ 85 │ │ │ │ │ __package__ = pkg_name, │
│ 86 │ │ │ │ │ __spec__ = mod_spec) │
│ > 87 │ exec(code, run_globals) │
│ 88 │ return run_globals │
│ 89 │
│ 90 def _run_module_code(code, init_globals=None, │
│ │
│ in <module>:7 │
│ │
│ c:\users\ │
│ USER\appdata\local\programs\python\python39\lib\si te-packages\click\core.py │
│ :1157 in __call__ │
│ │
│ c:\users\ │
│ USER\appdata\local\programs\python\python39\lib\si te-packages\click\core.py │
│ :1078 in main │
│ │
│ c:\users\ │
│ USER\appdata\local\programs\python\python39\lib\si te-packages\click\core.py │
│ :1688 in invoke │
│ │
│ c:\users\ │
│ USER\appdata\local\programs\python\python39\lib\si te-packages\click\core.py │
│ :1688 in invoke │
│ │
│ c:\users\ │
│ USER\appdata\local\programs\python\python39\lib\si te-packages\click\core.py │
│ :1657 in _process_result │
│ │
│ c:\users\ │
│ USER\appdata\local\programs\python\python39\lib\si te-packages\click\core.py │
│ :783 in invoke │
│ │
│ C:\Users\ │
│ USER\AppData\Local\Programs\Python\Python39\Lib\si te-packages\devine\comman │
│ ds\dl.py:704 in result │
│ │
│ 701 │ │ │ │ │ ): │
│ 702 │ │ │ │ │ │ for task_id, task_tracks in multiplex_tasks: │
│ 703 │ │ │ │ │ │ │ progress.start_task(task_id) # TODO: Need │
│ > 704 │ │ │ │ │ │ │ muxed_path, return_code = task_tracks.mux( │
│ 705 │ │ │ │ │ │ │ │ str(title), │
│ 706 │ │ │ │ │ │ │ │ progress=partial(progress.update, task │
│ 707 │ │ │ │ │ │ │ │ delete=False │
│ │
│ c:\users\ │
│ USER\appdata\local\programs\python\python39\lib\si te-packages\devine\core\t │
│ racks\tracks.py:413 in mux │
│ │
│ 410 │ │ │
│ 411 │ │ # let potential failures go to caller, caller should handle │
│ 412 │ │ try: │
│ > 413 │ │ │ p = subprocess.Popen([ │
│ 414 │ │ │ │ *cl, │
│ 415 │ │ │ │ "--output", str(output_path), │
│ 416 │ │ │ │ "--gui-mode" │
│ │
│ c:\users\ │
│ USER\appdata\local\programs\python\python39\lib\su bprocess.py:951 in │
│ __init__ │
│ │
│ 948 │ │ │ │ │ self.stderr = io.TextIOWrapper(self.stderr, │
│ 949 │ │ │ │ │ │ │ encoding=encoding, errors=errors) │
│ 950 │ │ │ │
│ > 951 │ │ │ self._execute_child(args, executable, preexec_fn, close_f │
│ 952 │ │ │ │ │ │ │ │ pass_fds, cwd, env, │
│ 953 │ │ │ │ │ │ │ │ startupinfo, creationflags, shell, │
│ 954 │ │ │ │ │ │ │ │ p2cread, p2cwrite, │
│ │
│ c:\users\ │
│ USER\appdata\local\programs\python\python39\lib\su bprocess.py:1420 in │
│ _execute_child │
│ │
│ 1417 │ │ │ │
│ 1418 │ │ │ # Start the process │
│ 1419 │ │ │ try: │
│ > 1420 │ │ │ │ hp, ht, pid, tid = _winapi.CreateProcess(executable, │
│ 1421 │ │ │ │ │ │ │ │ │ │ # no special security │
│ 1422 │ │ │ │ │ │ │ │ │ │ None, None, │
│ 1423 │ │ │ │ │ │ │ │ │ │ int(not close_fds), │
└───────────────────────────────────────────────── ─────────────────────────────┘
FileNotFoundError: [WinError 2] The system cannot find the file specified
I have also attached the error log text file below.
If anyone has any idea about what I'm doing wrong or how to fix this error I would greatly appreciate it, thank you -
Looks like it doesn't like the subtitles
Code:devine dl -V -A PLUTO "https://pluto.tv/ca/on-demand/series/664dfea341d4c70014719cf8/season/1/episode/664e25f9112397001427d11e"
-
FileNotFoundError means that it can't find all the dependencies on your system. Since it looks like it fails when trying to mux, I'm guessing it can't find mkvmerge. I highly recommend creating a C:\bin folder, add that folder to your PATH and then place everything in there instead of in the Devine folder.
You also forgot the dl command:
Code:devine dl PLUTO "https://pluto.tv/ca/on-demand/series/664dfea341d4c70014719cf8/season/1/episode/664e25f9112397001427d11e"
[Attachment 80137 - Click to enlarge] -
Thank you PSXman_uk and stabbedbybrick for the help and looking into this for me.
Turns out stabbedbybrick was right, and devine was not detecting my dependencies even though I put them in the same directory as where I installed devine. I took your advice and created a bin folder, put all my dependencies there instead, and added that to PATH. Then I tried to download the video again, and it finally worked. This was my first video I was able to download with devine, and I'm excited to be able to download videos from PlutoTV at last. -
Nice work, @jebele9937. Always nice to see a success story.
As an additional tip, I highly recommend using Windows Terminal and Powershell 7 on Windows. It's miles and miles better than the old cmd. -
-
I’ve recently updated my Crunchyroll service script for Devine. It’s notated pretty well for anyone trying to learn. I still need to add search and a URL parser - which I plan on doing tonight.
-
-
Haven't seen anything posted publicly, so the more the merrier.
I'm having a crack at some of the Aussie services. Slow going trying to take in all the steps.
Got the search working for iView, so happy with the day's work so far
[Attachment 80240 - Click to enlarge] -
-
-
CBS/Paramount has seemingly started blocking the python requests library in some cases, which could be what's causing the 406 response. If this is the case, it can be fixed by setting up a new Session() using curl_cffi, httpx, or by changing the cipher list for self.session.
-
-
the easiest way is to just click on download file once you click on one like so
[Attachment 80276 - Click to enlarge] -
A quick heads-up for ITV users who are using accounts:
The service has been updated to use cookies instead of credentials:
Originally Posted by Commit Message:
Users who don't have any accounts are unaffected by this. -
IGNORE: Had an issue with ITV Premium but I've got it working now.
Last edited by moggoly; 29th Jun 2024 at 10:50.
-
Same way you'd download videos from any other service using Devine.
I know it's 16 pages, but there's a lot of info here already. If you're having a new issue nobody else has had (and resolved) then I'm sure if you post and clearly state it then you'll get help, but from this post it kinda sounds like you've not done any research. -
- I installed Devine with pip install
- I copied the iP service from https://cdm-project.com/stabbedbybrick/devine-services to c:\Program Files\Python311\Lib\site-packages\devine\services\
- I downloaded a file from here https://forum.videohelp.com/threads/413719-Ready-to-use-CDMs-available-here%21 and extracted the content in C:\Work
- I used the command
Code:pywidevine create-device -t ANDROID -l 3 -k "C:\Work\private_key.pem" -c "C:\Work\client_id.bin" -o c:\Work\output
- I edited the devine.yaml file from C:\Users\MyUser\AppData\Local\devine\ with this content:
Code:directories: wvds: C:/Users/MyUser/AppData/Local/devine/WVDs cdm: default: android_c4e2dd1b_8162_l3
Code:devine dl --list-titles iP m0020sq7
Code:Service Config loaded Failed to load Widevine CDM, android_c4e2dd1b_8162_l3 does not exist or is not a file
-
-
-
Yes. I removed the extension. (It doesn't work, with or without extension.)
PS: I wrote appdata but that folder is actually named AppData -
-
Thanks. Apparently it needed the extension. But I've got another error:
Code:Service Config loaded Loaded Cdm Widevine CDM: 8162 (L3) Loaded 0 Vaults ─────────────────────────────── Service: iP ──────────────────────────────── Service is not Geoblocked in your region ─────────────────────────── Series: Glastonbury ──────────────────────────── 1 Season, 1 Episode ──────────────────────── Glastonbury S00E00 Orbital ── ┌───────────────────── Traceback (most recent call last) ──────────────────────┐ │ in _run_module_as_main:198 │ │ in _run_code:88 │ │ │ │ in <module>:7 │ │ │ │ C:\Program Files\Python311\Lib\site-packages\click\core.py:1157 in __call__ │ │ │ │ C:\Program Files\Python311\Lib\site-packages\click\core.py:1078 in main │ │ │ │ C:\Program Files\Python311\Lib\site-packages\click\core.py:1688 in invoke │ │ │ │ C:\Program Files\Python311\Lib\site-packages\click\core.py:1688 in invoke │ │ │ │ C:\Program Files\Python311\Lib\site-packages\click\core.py:1657 in │ │ _process_result │ │ │ │ C:\Program Files\Python311\Lib\site-packages\click\core.py:783 in invoke │ │ │ │ C:\Program Files\Python311\Lib\site-packages\devine\commands\dl.py:341 in │ │ result │ │ │ │ 338 │ │ │ │ events.subscribe(events.Types.TRACK_MULTIPLEX, service │ │ 339 │ │ │ │ │ 340 │ │ │ with console.status("Getting tracks...", spinner="dots"): │ │ > 341 │ │ │ │ title.tracks.add(service.get_tracks(title), warn_only= │ │ 342 │ │ │ │ title.tracks.chapters = service.get_chapters(title) │ │ 343 │ │ │ │ │ 344 │ │ │ # strip SDH subs to non-SDH if no equivalent same-lang non │ │ │ │ C:\Program │ │ Files\Python311\Lib\site-packages\devine\services\iP\__init__.py:191 in │ │ get_tracks │ │ │ │ 188 │ │ if connection["transferFormat"] == "dash": │ │ 189 │ │ │ tracks = DASH.from_url(url=connection["href"], session=sel │ │ 190 │ │ elif connection["transferFormat"] == "hls": │ │ > 191 │ │ │ tracks = HLS.from_url(url=connection["href"], session=self │ │ 192 │ │ else: │ │ 193 │ │ │ raise ValueError(f"Unsupported video media transfer format │ │ 194 │ │ │ │ C:\Program Files\Python311\Lib\site-packages\devine\core\manifests\hls.py:57 │ │ in from_url │ │ │ │ 54 │ │ │ │ 55 │ │ res = session.get(url, **args) │ │ 56 │ │ if not res.ok: │ │ > 57 │ │ │ raise requests.ConnectionError( │ │ 58 │ │ │ │ "Failed to request the M3U(8) document.", │ │ 59 │ │ │ │ response=res │ │ 60 │ │ │ ) │ └──────────────────────────────────────────────────────────────────────────────┘ ConnectionError: Failed to request the M3U(8) document.
Code:devine dl iP https://www.bbc.co.uk/iplayer/episode/m0020sq7/glastonbury-orbital
-
Similar Threads
-
How do I completely remove the music and sound effects from a movie?
By cns00 in forum EditingReplies: 1Last Post: 15th Jan 2024, 12:11 -
Which software can remove music from show but keep character dialogue?
By Mohamed61020 in forum AudioReplies: 6Last Post: 2nd Jul 2023, 21:32 -
Software for simple music videos?
By dewiclements in forum Software PlayingReplies: 3Last Post: 26th Jul 2022, 01:21 -
H.264 for archival and editing - no go?
By malling in forum Capturing and VCRReplies: 8Last Post: 19th Aug 2019, 23:51 -
Movie music too loud but dialogue too quiet fix needed
By hokkom in forum AudioReplies: 121Last Post: 4th May 2019, 08:51