JDownloader Community - Appwork GmbH
 

Notices

Reply
 
Thread Tools Display Modes
  #1  
Old 02.10.2022, 11:41
nathan1 nathan1 is offline
JD VIP
 
Join Date: Apr 2012
Posts: 394
Default [DRM] discoveryplus.com 404 error

Hello,
I ask for a DiscoveryPlus link crawler in Jdownloader because it support FFMPEG option
I sent you my credentials if you want

Site
**External links are only visible to Support Staff****External links are only visible to Support Staff**

Site with video playlist example
**External links are only visible to Support Staff****External links are only visible to Support Staff**

Link to a specific video of playlist
**External links are only visible to Support Staff****External links are only visible to Support Staff**

I used Stream Detector
https://addons.mozilla.org/it/firefo...ream-detector/

to capture the original URL, I copied this command into Notepad and save it as a .cmd or .bat and then run it but it return 404 error

**External links are only visible to Support Staff****External links are only visible to Support Staff**

Code:
ffmpeg -user_agent "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:105.0) Gecko/20100101 Firefox/105.0" -referer "**External links are only visible to Support Staff** -i "**External links are only visible to Support Staff** -c copy "06fa5c32-59b9-5189-a8ae-212ca23b359c.ts"
Usually you can edit

Code:
JIAw==" -c copy
with

Code:
JIAw==&mux_audio=true" -c copy
Request: is possible to add discoveryplus for JDownloader ?

Last edited by nathan1; 02.10.2022 at 11:55.
Reply With Quote
  #2  
Old 02.10.2022, 11:53
Jiaz's Avatar
Jiaz Jiaz is offline
JD Manager
 
Join Date: Mar 2009
Location: Germany
Posts: 79,286
Default

@nathan1: I doubt that those streams are not protected. Please send logins to support@jdownloader.org so we can check this
Most likely ffmpeg fails because of missing session cookies.
__________________
JD-Dev & Server-Admin
Reply With Quote
  #3  
Old 02.10.2022, 11:53
Jiaz's Avatar
Jiaz Jiaz is offline
JD Manager
 
Join Date: Mar 2009
Location: Germany
Posts: 79,286
Default

Quote:
Originally Posted by nathan1 View Post
Request: is possible to add discoveryplus for JDownloader ?
You should also check yt-dlp and see if it works
__________________
JD-Dev & Server-Admin
Reply With Quote
  #4  
Old 02.10.2022, 12:21
nathan1 nathan1 is offline
JD VIP
 
Join Date: Apr 2012
Posts: 394
Default

Quote:
Originally Posted by Jiaz View Post
You should also check yt-dlp and see if it works
yes, I tried now with yt-dlp but it download always one file and the file is not the correct video but is a trailer from discovery plus site.

But it seems to be correct direction
Reply With Quote
  #5  
Old 02.10.2022, 12:35
Jiaz's Avatar
Jiaz Jiaz is offline
JD Manager
 
Join Date: Mar 2009
Location: Germany
Posts: 79,286
Default

@nathan1: found your mail, we will check on thuesday as there is public holiday here in germany on monday.
__________________
JD-Dev & Server-Admin
Reply With Quote
  #6  
Old 02.10.2022, 12:35
Jiaz's Avatar
Jiaz Jiaz is offline
JD Manager
 
Join Date: Mar 2009
Location: Germany
Posts: 79,286
Default

Quote:
Originally Posted by nathan1 View Post
yes, I tried now with yt-dlp but it download always one file and the file is not the correct video but is a trailer from discovery plus site.

But it seems to be correct direction
do not add the m3u8 but just add the discovery link itself.
__________________
JD-Dev & Server-Admin
Reply With Quote
  #7  
Old 02.10.2022, 13:37
nathan1 nathan1 is offline
JD VIP
 
Join Date: Apr 2012
Posts: 394
Default

Quote:
Originally Posted by Jiaz View Post
do not add the m3u8 but just add the discovery link itself.
It tell me Unsopported URL



example link
**External links are only visible to Support Staff****External links are only visible to Support Staff**
Reply With Quote
  #8  
Old 02.10.2022, 13:54
Jiaz's Avatar
Jiaz Jiaz is offline
JD Manager
 
Join Date: Mar 2009
Location: Germany
Posts: 79,286
Default

@nathan1: try to remove the /it/ in url, see supported urls
github.com/ytdl-org/youtube-dl/blob/5208ae92fc3e2916cdccae45c6b9a516be3d5796/youtube_dl/extractor/dplay.py
__________________
JD-Dev & Server-Admin
Reply With Quote
  #9  
Old 02.10.2022, 14:40
nathan1 nathan1 is offline
JD VIP
 
Join Date: Apr 2012
Posts: 394
Default

Quote:
Originally Posted by Jiaz View Post
@nathan1: try to remove the /it/ in url, see supported urls
github.com/ytdl-org/youtube-dl/blob/5208ae92fc3e2916cdccae45c6b9a516be3d5796/youtube_dl/extractor/dplay.py
mm.. now it return me about cookies.



I'm a registered and premium user on discovery.
Now, I follow this tutorial to extract but is hard to understand what and how insert in command

**External links are only visible to Support Staff****External links are only visible to Support Staff**

Code:
--cookies ??what insert ???
they also tell to write in this way

Code:
youtube-dl --add-header "Cookie:COOKIE_STRING_EXTRACTED_FROM_BROWSER" "**External links are only visible to Support Staff**
I insert my cookie on this link if you want to test - I'm inside as registered user because this passage is hard to me to solve

**External links are only visible to Support Staff****External links are only visible to Support Staff**

Reply With Quote
  #10  
Old 03.10.2022, 10:29
Jiaz's Avatar
Jiaz Jiaz is offline
JD Manager
 
Join Date: Mar 2009
Location: Germany
Posts: 79,286
Default

@nathan1: you have to copy/paste/use the cookie string from a request, not from storage, see apple.stackexchange.com/questions/349697/how-to-use-youtube-dl-cookies
open developer mode -> network tab -> open the website and then check the cookies header in request and that's the string to copy
__________________
JD-Dev & Server-Admin
Reply With Quote
  #11  
Old 03.10.2022, 19:48
nathan1 nathan1 is offline
JD VIP
 
Join Date: Apr 2012
Posts: 394
Default

I follow your tips and I think I have copied correct cookie but returns other errors, look this pic



I copied cookie from here



I use this command

Code:
youtube-dl.exe --add-header "Cookie:HERE I COPIED COOKIE (VERY LONG)" --no-part --restrict-filenames --referer "https:www.discoveryplus.com/" "**External links are only visible to Support Staff**
Reply With Quote
  #12  
Old 04.10.2022, 15:43
Jiaz's Avatar
Jiaz Jiaz is offline
JD Manager
 
Join Date: Mar 2009
Location: Germany
Posts: 79,286
Default

@nathan1: Thanks for the feedback! The error message looks like a plugin error in yt-dlp. The plugin source is also older and most likely out of date/non working. It was just an idea that you could test it. We will check for possible JDownloader support
__________________
JD-Dev & Server-Admin
Reply With Quote
  #13  
Old 04.10.2022, 19:58
pspzockerscene's Avatar
pspzockerscene pspzockerscene is online now
Community Manager
 
Join Date: Mar 2009
Location: Deutschland
Posts: 70,920
Default

I've just looked into this and it looks like they're using DRM protected DASH streaming.
Screenshot of parts of their json:

Link to screenshot:
i.snipboard.io/0frsTk.jpg

JDownloader does not support downloading DRM protected streams.
See other similar thready by searching for "DRM protected" in our forum.
__________________
JD Supporter, Plugin Dev. & Community Manager

Erste Schritte & Tutorials || JDownloader 2 Setup Download
Spoiler:

A users' JD crashes and the first thing to ask is:
Quote:
Originally Posted by Jiaz View Post
Do you have Nero installed?
Reply With Quote
  #14  
Old 05.10.2022, 03:54
nathan1 nathan1 is offline
JD VIP
 
Join Date: Apr 2012
Posts: 394
Default

@psp
@jiaz

Thanks for answering me.
I would say the case is closed.
Reply With Quote
  #15  
Old 05.10.2022, 10:27
Jiaz's Avatar
Jiaz Jiaz is offline
JD Manager
 
Join Date: Mar 2009
Location: Germany
Posts: 79,286
Default

@nathan1: Thanks for your understanding!
__________________
JD-Dev & Server-Admin
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

All times are GMT +2. The time now is 18:07.
Provided By AppWork GmbH | Privacy | Imprint
Parts of the Design are used from Kirsch designed by Andrew & Austin
Powered by vBulletin® Version 3.8.10 Beta 1
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.