I would like to ask for some support regarding the cookie export.
I am trying to download a free TV stream from DISCOVERYplus UK to test the service.
Created an account on DSCP, logged in, installed Chrome extension https://chromewebstore.google.com/detail/get-cookiestxt-locally/cclelndahbckbenkjhflpd...ce=ext_sidebar
Exported cookies to file as DSCP.txt into my cookies folder.
In contrast to the screenshot above there are 44 lines in the cookies export file.
Running devine afterwards gives:
Also tried refreshing my session in the webpage, exporting again and retrying once more, within seconds. Same error "Invalid or expired". Browser happily plays the live stream!Code:(venv) F:\devine>devine dl -q 720 --s-lang en --sub-format srt DSCP https://www.discoveryplus.com/gb/channel/quest?pc=268 / __ \/ ____/ | / / _/ | / / ____/ / / / / __/ | | / // // |/ / __/ / /_/ / /___ | |/ // // /| / /___ /_____/_____/ |___/___/_/ |_/_____/ ⠀ v3.3.3 Copyright © 2019-2024 rlaphoenix https://github.com/devine-dl/devine Service Config loaded Loaded Cdm Widevine CDM: 4445 (L3) Loaded 1 Vaults ────────────────────────────── Service: DSCP ─────────────────────────────── Service has no Geofence - Invalid Token. Cookies are invalid or may have expired.
Any idea?
There are only cookies of domain ".discoveryplus.com" exported in the file. Would I potentially need other sites in addition in the file?
Also tried changing the config from "downloader: aria2c" to "downloader: curl-impersonate" - still the same problem.
Verified the whole process with a TUBI stream and storing in cookies\TUBI.txt: Everything works as expected. So there should be no issue with the format of the cookies file, it's naming etc.
Try StreamFab Downloader and download from Netflix, Amazon, Youtube! Or Try DVDFab and copy Blu-rays!
+ Reply to Thread
Results 751 to 780 of 781
Thread
-
Last edited by cyberschlumpf; 4th Sep 2024 at 09:09.
-
I'm pretty sure attempting to download the live stream is not possible with the current version of service.
Only show and video:
Code:TITLE_RE = r"^(?:https?://(?:www\.)?discoveryplus\.com(?:/[a-z]{2})?)?/(?P<type>show|video)/(?P<id>[a-z0-9-/]+)"
As for the cookies, the cookie 'st' is the only mandatory one:
Code:# Netscape HTTP Cookie File # http://curl.haxx.se/rfc/cookie_spec.html # This is a generated file! Do not edit. eu1-prod-direct.discoveryplus.com FALSE / TRUE st {VALUE}
Last edited by SaintyUK; 4th Sep 2024 at 09:54. Reason: Remove details about blank line at the end of the file.
-
Thought as well it might be due to the live stream (where should devine stop?) so I found another apparently FTA episode:
https://www.discoveryplus.com/gb/show/ainsleys-festive-flavours
Same issue here.
It seems that extension does indeed NOT export that particular subdomain. It's in my cookie view in the browser but doesn't get exported. Will add. Thank you! Which cookie extension is the actual recommended one? Do you have a direct link for me please? -
Affirmative! Adding the cookie for
eu1-prod-direct.discoveryplus.com
manually, makes everything work! (A empty line at the end of the file was NOT necessary). Can download the mentioned episode!
Thank you very much! -
I am still looking, tracing thru your DSNP and HULU services. They work great! But will only get episodes 1-10 of a season.
What may be a fix for that? I just haven't either figured it out yet, or won't but I am still looking
Example - Lost s01e01
Code:devine dl -q 720 -w S01E10 DSNP entity-466b3994-b574-44f1-88bc-63707507a6cb
[Attachment 81972 - Click to enlarge]
Code:devine dl -q 720 -w S01E11 DSNP entity-466b3994-b574-44f1-88bc-63707507a6cb
[Attachment 81973 - Click to enlarge]
Same goes for HULU, but now I will check Crunchyroll as you said that way your best one. Maybe that will help me.
Otherwise, any ideas? -
Last edited by PunchDrunkL0ve; 4th Sep 2024 at 14:32.
-
I'm getting quite a lot of this lately (I have a Nord subscription set up in my yaml)
Any suggestions to fix it ?
Thanks
❌ Download Failed...
HTTPSConnectionPool(host='vod-hls-uk-live.akamaized.net',
port=443): Max retries exceeded with url -
I ran across today on Pluto TV U.S. that at anytime seasons can disappear of On Demand shows. But they can come back again at a different time in the month.
I am noticing a lot of the U.S. Pluto TV website just in not displaying things and you do a search and it says it is having problems. I tried it both Nord VPN and Windscribe Free 10 GB per month version. The Canadian version of the website is not having any such problems but it has a lot less to chose from. Does anyone else have any problems with the website? I am hoping it is a temporary thing.Last edited by Tom Saurus; 5th Sep 2024 at 18:06.
-
Any suggestions on how to deal with DSCP constantly shutting the connection? --slow doesn't seem to help.
ConnectionError: ('Connection aborted.', RemoteDisconnected('Remote end closed
connection without response'))
Edit: seems to have sorted itself out -phewLast edited by PunchDrunkL0ve; 7th Sep 2024 at 13:45.
-
@TPD94 has updated the Gitea version where my devine services are hosted, so for those of you who don't use git clone can now download the project as a ZIP file by clicking the three dots in the top right corner. I'd still recommend learning git though, for obvious reasons.
As a side note, I've managed to add N_m3u8DL-RE as an option in my own version of Devine, which works really well so far. Not only is it significantly more stable and faster in most cases, it comes with some nice additional features:
- Certain manifests not supported by Devine can now be used with N_m3uDL-RE instead
- It can be used proxy-less, which lets you to use a free VPN/proxy for API calls while downloading with your system connection
- A fully working progress bar along with file size info
- Using Ctrl+c to stop a download actually works now, where it rarely worked properly before. At least on my end.
- It could potentially allow livestream functionality
[Attachment 82080 - Click to enlarge]
I can't make any promises, but since there seem to be some demand for it, I'll see if I can figure out a good way to make it available for people. Either by making a pull request or something else. -
Woah stabbedbybrick that sounds incredible!!!
It is a shame that devine-dl is not more actively developed. Have you considered forking and starting devine-brick?Last edited by SaintyUK; 9th Sep 2024 at 06:21. Reason: Further comments added.
-
@stabbedbybrick having the option to use N_m3u8DL-RE as a downloader would be amazing with fully working progress bar and ctrl-C. I'm up for it too.
-
-
Did something change on Tubi? I tried downloading an episode of something and got this error "no scheme supplied."
Code:/ __ \/ ____/ | / / _/ | / / ____/ / / / / __/ | | / // // |/ / __/ / /_/ / /___ | |/ // // /| / /___ /_____/_____/ |___/___/_/ |_/_____/ ⠀ v3.3.3 Copyright © 2019-2024 rlaphoenix https://github.com/devine-dl/devine Service Config loaded Loaded Cdm Widevine CDM: 4445 (L3) Loaded 1 Vaults Loaded Hola: 43 Countries ────────────────────────────── Service: TUBI ─────────────────────────────── Service is not Geoblocked in your region Authenticated with Service ────────────── Series: Leah Remini: It's All Relative (2015) ─────────────── 2 Seasons, 27 Episodes ─────── Leah Remini: It's All Relative S01E01 Welcome to the Family ──────── 1 Video └── [H.264, SDR] | en | 1280x720 @ 2563 kb/s, 29.970 FPS ⠼ ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ • --:-- • FAILED 1 Audio └── [AAC] | en | 2.0 ⠼ ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ • --:-- • FAILED 1 Subtitle └── [SRT] | en ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ • 00:00 • Downloaded ❌ Download Failed... Invalid URL '11hcgcbk.mp4': No scheme supplied. Perhaps you meant https://11hcgcbk.mp4?
I fixed this by going into the tubi code and doing this in get_tracks:
Code:track.url = os.path.dirname(self.manifest) + "/" + master.segments[0].uri
stabbedbybrick, thougts?
Also, did the traceback disappear in devine 3.3.3? devine 3.3.2 gives me a traceback, but 3.3.3 does not. Do I have to turn it on somehow?Last edited by achilles; 9th Sep 2024 at 19:17.
-
Yeah, you have the right idea. They've removed the base URI from the playlists for some reason. Your solution works, but might cause issues if a stream comes a long where the URI is not missing and you'll end up with an incorrect track.url. I just pushed a fix that should work in both scenarios.
As for the traceback, I'm not sure what the differences are to previous versions but it mostly depends on what the error is. -
I have to do some heavy duty thinking and put some effort to update Devine. Somehow some month ago I was able to get TUBI TV working and was happy with that. I don't know how I did it but Tubi TV at least worked. Since I have so little confidence I didn't touch the program trying to update so there is only about four services in there. I look forward to this new Devine where it works with N_m3u8DL-RE and I never got that proxy with free Windscribe working in Freevine but I better figure it out as PlutoTV and NordVPN are not working together now. I find it works with Windscribe but 10 GB doesn't last very long.
-
>> I usually throw in a "--slow" too, builds in a human timed gap between episodes.
Is this a new option? (--slow). My devine doesn't seem to know this option?? -
-
Out of curiosity, those of you that report consistently slow speeds, are you using Hola proxy per chance? Have you experimented with the '--workers' option? Because while N_m3u8DL-RE is often faster, both Aria and Requests have treated me pretty well on basically all services. At least when it comes to speed. But if you have Hola added as a dependency, it will automatically load if the service require a proxy, and things will turn to syrup.
-
Some good news I went to stabbedbybrick devine services and copied the new .init file and config file from the TUBI Service. I found the correct folder this time which was in Users GIT and replaced the files in there and now TUBI TV is working for me and I am very happy about that. Maybe I can add in the other Services I am interested in there by downloading them and dropping them in that Services folder. I can give it a try. I know there is a better way to do all this but this worked.
As for Pluto TV for me when I use the Firefox Browser to look to see what is available at Pluto TV U.S. it will either give me the Canadian version or not display at all and this is with Nord VPN. Now if I use the Waterfox Browser and Nord VPN with a US IP it allows me to see what is available on the Pluto TV U.S. website. What I need to know is in Devine if I add the Pluto TV Service how exactly to configure things that Windscribe can Proxy things so that it can give Devine what it needs without using up my 10 GB free Windscribe. I don't mind using some of course but 10 GB would be gone pretty fast. I tried it in Freevine and it is says the proxy is activated but fails as it says Title None. Thanks in advance for any guidance.
My confidence is very low with Devine; and I feel very stupid and a pain in the butt and also ashamed for asking for guidance but remember there are others like me I assume. -
I have workers set to 16 in the devine.yaml file and this variable in my batch file.
Code:set "_options=--slow --no-proxy --no-source -l all"
-
Sorry, if this has been asked before, but is there a way to let devine reuse what's already there? For example, assume I have downloaded already the video part and decrypted it and then during the download of the audio track some problem occurs (network disconnect or whatever). When I now just restart the same devine command, devine will again also download the video track although this has already been perfectly done.
Or, on one installation I forgot to install shaka-packager so at the very end the whole workflow failed. When I added the binary and restarted the job it again started by downloaded the video and audio which took again 15+ minutes... -
Those instances are frustrating! I believe it is an enhancement that has been requested, but hasn't been able to be implemented yet.
What you can do is request the missing track using the -V or -A option and then remux the result using MKVToolNix or ffmpeg, etc. -
I'm stuck with JOYN Germany. My service has the correct license url and pssh from mpd but fails when acquiring the license with "License acquisition failed". Either with an Android L3 cdm or a remote cdm. Tried pssh and license url on https://cdrm-project.com/, getting working keys from there.
Do you have any hints on a possible cause? -
I have devine setup and running fine on my windows PC but I have been trying to get it setup on a linux server that uses Debian. I have got Devine setup and it downloads the video and audio, decrypts them but when it gets to the subtitles it fails with the following error
OSError: /tmp/devine/Subtitle_77db6d_stripped.vtt is not valid subtitle file:
.vtt
If I run something like devine dl -V -A ALL4 https://www.channel4.com/programmes/8-out-of-10-cats-does-countdown/on-demand/74080-008 then I get the following error:
CalledProcessError: Command '[PosixPath('/usr/local/bin/ccextractor'), '-trim',
'-nobom', '-noru', '-ru1', '-o',
PosixPath('/tmp/devine/Subtitle_ccextractor-d4d91e4a_en.srt'),
PosixPath('/tmp/devine/Video_d4d91e4a_repack.mp4')]' returned non-zero exit
status 4.
Does anyone know why this could be happening? This is when I have set the config to have the sub format as srt but it also fails when that is removed from the config with the very first error.
The server isn't based in the UK so is using NordVPN could it be the VPN causing the issue?
Thanks -
-
I have a Debian machine running NordVPN and it works, so your base setup will be fine. I'd chack the ccextractor you have downloaded as its suggesting it might not be compatible with your version of Deb.
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 CapturingReplies: 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