yt-dlp / yt-dlp

A feature-rich command-line audio/video downloader
https://discord.gg/H5MNcFW63r
The Unlicense
82.9k stars 6.47k forks source link

Download from DiscoveryNetworksDe (dmax.de) not possible #7530

Closed ffw2 closed 3 months ago

ffw2 commented 1 year ago

DO NOT REMOVE OR SKIP THE ISSUE TEMPLATE

Checklist

Region

Worldwide

Provide a description that is worded well enough to be understood

The website was redesigned some months ago but the URL scheme seems to be the same. (But now there is no longer a direct link to a season to download a playlist)

Now, it's not possible to download a single video anymore. After downloading the latest yt-dlp version, it's downloading a MHTML file with pictures instead of the video.

https://dmax.de/sendungen/goldrausch-in-australien/german-gold https://dmax.de/sendungen/outback-opal-hunters/die-letzte-chance

Provide verbose output that clearly demonstrates the problem

Complete Verbose Output

[debug] Command-line config: ['-vU', 'https://dmax.de/sendungen/goldrausch-in-au
stralien/german-gold']
[debug] Encodings: locale cp1252, fs utf-8, pref cp1252, out utf-8 (No VT), erro
r utf-8 (No VT), screen utf-8 (No VT)
[debug] yt-dlp version stable@2023.07.06 [b532a3481] (win_exe)
[debug] Python 3.8.10 (CPython AMD64 64bit) - Windows-7-6.1.7601-SP1 (OpenSSL 1.
1.1k  25 Mar 2021)
[debug] exe versions: ffmpeg 6.0-essentials_build-www.gyan.dev (setts), ffprobe
6.0-essentials_build-www.gyan.dev
[debug] Optional libraries: Cryptodome-3.18.0, brotli-1.0.9, certifi-2023.05.07,
 mutagen-1.46.0, sqlite3-2.6.0, websockets-11.0.3
[debug] Proxy map: {}
[debug] Loaded 1855 extractors
[debug] Fetching release info: https://api.github.com/repos/yt-dlp/yt-dlp/releas
es/latest
Available version: stable@2023.07.06, Current version: stable@2023.07.06
Current Build Hash: 5ff3e702171a50175c34397494e2d18ce35d771c2110b1e59bd173ec2fb3
52aa
yt-dlp is up to date (stable@2023.07.06)
[DiscoveryNetworksDe] Extracting URL: https://dmax.de/sendungen/goldrausch-in-au
stralien/german-gold
[debug] Using fake IP 53.123.184.21 (DE) as X-Forwarded-For
[DiscoveryNetworksDe] goldrausch-in-australien/german-gold: Downloading token
[DiscoveryNetworksDe] goldrausch-in-australien/german-gold: Downloading JSON met
adata
[DiscoveryNetworksDe] 4756322: Downloading JSON metadata
[DiscoveryNetworksDe] goldrausch-in-australien/german-gold: Downloading MPD mani
fest
[DiscoveryNetworksDe] goldrausch-in-australien/german-gold: Downloading m3u8 inf
ormation
WARNING: This video is drm protected and only images are available for download.
 use --list-formats to see them
[debug] Formats sorted by: hasvid, ie_pref, lang, quality, res, fps, hdr:12(7),
vcodec:vp9.2(10), channels, acodec, size, br, asr, proto, vext, aext, hasaud, so
urce, id
[debug] Default format spec: bestvideo*+bestaudio/best
[info] 4756322: Downloading 1 format(s): dash-thumbnails
[debug] Invoking mhtml downloader on "https://dplaydk.media-edge.prod-vod.h264.i
o/2f85f75e-10da-4b8d-9e2d-d05a83c00349/dash_widevinePlayready_fmp4/edge-cache-to
ken=Expires=1688821862&KeyName=media-edge-key-prod-eu-661a302&Signature=ciO-3tmN
zu6UEPehUB7t642rVYIdZhA3c9xGdWKmFcXtzzpMLL7yt4Df4hk1klxCKMEnRvY-5RAs2wlBwBDRBg/m
aster.mpd"
[mhtml] Total fragments: 662
[download] Destination: German Gold [4756322].mhtml
[debug] File locking is not supported. Proceeding without locking
[download] 100% of   11.21MiB in 00:02:18 at 83.17KiB/s
bashonly commented 1 year ago

WARNING: This video is drm protected and only images are available for download.

Have you tried disabling DRM in your browser and seeing if the video will play? (instructions)

I get the same result with 2023.06.22, so this isn't due to the change in yt-dlp's DRM detection

ffw2 commented 1 year ago

The video does not play and there is a message at the top: "you must enable DRM to play some audio or video on this page"

theDispare commented 1 year ago

WARNING: This video is drm protected and only images are available for download.

Have you tried disabling DRM in your browser and seeing if the video will play? (instructions)

I get the same result with 2023.06.22, so this isn't due to the change in yt-dlp's DRM detection

Hey, i tried it with firefox and edge. If drm disabled in my browser the video still could be played perfectly. I had the issue with "you must enable DRM to play some audio or video on this page" just today with https://dmax.de/sendungen/fritz-meinecke-facing-the-unknown/auf-den-spuren-der-salzkarawanen-unter-kamelen and saw this open issue. what is the current state on this?

Fantastik07 commented 1 year ago

Hi I also have the same problem: "WARNING: This video is drm protected and only images are available for download." but until last week everything was working fine, I am also attaching a screenshot: image However if I open the link from my firefox browser everything works fine, I am attaching the screenshot of that too: image I hope the problem can be solved as soon as possible.

Ps. i have the latest version of yt-dlp.

ffw2 commented 1 year ago

Hey, i tried it with firefox and edge. If drm disabled in my browser the video still could be played perfectly. I had the issue with "you must enable DRM to play some audio or video on this page" just today with https://dmax.de/sendungen/fritz-meinecke-facing-the-unknown/auf-den-spuren-der-salzkarawanen-unter-kamelen and saw this open issue. what is the current state on this?

Hi, I tried the link from you and now I can play it with disabled DRM without any problems. I can also play the videos from my first post with disabled DRM. Maybe they changed something on their sever.

For discoveryplus.com I can't watch a video with disabled DRM. But dmax.de is now working wth disabled DRM but it's still downloading a *.MHTML file with images.

@bashonly can you please review the problem again, since the DRM protection isn't a problem anymore for dmax.de? Thanks!

bashonly commented 1 year ago

With this patch I can get non-DRM HLS formats:

diff --git a/yt_dlp/extractor/dplay.py b/yt_dlp/extractor/dplay.py
index 363b4bec9..ec2f42f15 100644
--- a/yt_dlp/extractor/dplay.py
+++ b/yt_dlp/extractor/dplay.py
@@ -355,12 +355,10 @@ def _download_video_playback_info(self, disco_base, video_id, headers):
             video_id, headers=headers, data=json.dumps({
                 'deviceInfo': {
                     'adBlocker': False,
+                    'drmSupported': False,
                 },
                 'videoId': video_id,
-                'wisteriaProperties': {
-                    'platform': 'desktop',
-                    'product': self._PRODUCT,
-                },
+                'wisteriaProperties': {},
             }).encode('utf-8'))['data']['attributes']['streaming']

     def _real_extract(self, url):
@@ -878,7 +876,7 @@ def _update_disco_api_headers(self, headers, disco_base, display_id, realm):
         })

-class DiscoveryNetworksDeIE(DPlayBaseIE):
+class DiscoveryNetworksDeIE(DiscoveryPlusBaseIE):
     _VALID_URL = r'https?://(?:www\.)?(?P<domain>(?:tlc|dmax)\.de|dplay\.co\.uk)/(?:programme|show|sendungen)/(?P<programme>[^/]+)/(?:video/)?(?P<alternate_id>[^/]+)'

     _TESTS = [{
@@ -921,7 +919,14 @@ def _real_extract(self, url):
         realm = 'questuk' if country == 'GB' else domain.replace('.', '')
         return self._get_disco_api_info(
             url, '%s/%s' % (programme, alternate_id),
-            'sonic-eu1-prod.disco-api.com', realm, country)
+            'eu1-prod.disco-api.com', realm, country)
+
+    def _update_disco_api_headers(self, headers, disco_base, display_id, realm):
+        headers.update({
+            'x-disco-params': 'realm=%s' % realm,
+            'x-disco-client': 'Alps:HyogaPlayer:0.0.0',
+            'Authorization': self._get_auth(disco_base, display_id, realm),
+        })

 class DiscoveryPlusShowBaseIE(DPlayBaseIE):

I don't know how it will impact other extractors subclassed from DiscoveryPlusBaseIE, though. I am pretty sure most of the other DiscoveryPlus sites are having the same DRM issue; hopefully this fix could work for them too (probably with some needed improvements/tweaks)

theDispare commented 1 year ago

@bashonly First Time building yt-dlp. cloned the repo. replaced your code. used the commands:

python3 -m pip install -U pyinstaller -r requirements.txt python3 devscripts/make_lazy_extractors.py python3 pyinst.py

Build was completed. Used the exe in \dist

Tried .\yt-dlp.exe -F https://dmax.de/sendungen/fritz-meinecke-facing-the-unknown/auf-den-spuren-der-salzkarawanen-unter-kamelen

still only a mhtml file. Do I miss something?

bashonly commented 1 year ago

@theDispare it sounds like maybe you missed a line of the patch. Instead of editing the code by hand, it is best to save the patch as a file and use git apply patchfile.diff to have git take care of it for you.

Patch still works for me:

$ yt-dlp -F "https://dmax.de/sendungen/fritz-meinecke-facing-the-unknown/auf-den-spuren-der-salzkarawanen-unter-kamelen"
[DiscoveryNetworksDe] Extracting URL: https://dmax.de/sendungen/fritz-meinecke-facing-the-unknown/auf-den-spuren-der-salzkarawanen-unter-kamelen
[DiscoveryNetworksDe] fritz-meinecke-facing-the-unknown/auf-den-spuren-der-salzkarawanen-unter-kamelen: Downloading token
[DiscoveryNetworksDe] fritz-meinecke-facing-the-unknown/auf-den-spuren-der-salzkarawanen-unter-kamelen: Downloading JSON metadata
[DiscoveryNetworksDe] 5153555: Downloading JSON metadata
[DiscoveryNetworksDe] fritz-meinecke-facing-the-unknown/auf-den-spuren-der-salzkarawanen-unter-kamelen: Downloading m3u8 information
[info] Available formats for 5153555:
ID                         EXT RESOLUTION FPS │   FILESIZE   TBR PROTO │ VCODEC        VBR ACODEC     MORE INFO
──────────────────────────────────────────────────────────────────────────────────────────────────────────────────
hls-audio-aacl-125-English mp4 audio only     │                  m3u8  │ audio only        unknown    [en] English
hls-304                    mp4 416x234     25 │ ~ 98.64MiB  304k m3u8  │ avc1.4D400D  304k video only
hls-437                    mp4 640x360     25 │ ~141.79MiB  437k m3u8  │ avc1.4D401E  437k video only
hls-653                    mp4 768x432     25 │ ~211.87MiB  653k m3u8  │ avc1.4D401E  653k video only
hls-1107                   mp4 1280x720    25 │ ~359.18MiB 1107k m3u8  │ avc1.4D401F 1107k video only
hls-1921                   mp4 1280x720    25 │ ~623.29MiB 1921k m3u8  │ avc1.4D401F 1921k video only
hls-3582                   mp4 1920x1080   25 │ ~  1.13GiB 3582k m3u8  │ avc1.4D4028 3582k video only
hls-5362                   mp4 1920x1080   25 │ ~  1.70GiB 5362k m3u8  │ avc1.4D4028 5362k video only
hls-8098                   mp4 1920x1080   25 │ ~  2.57GiB 8098k m3u8  │ avc1.4D4028 8098k video only
theDispare commented 1 year ago

@bashonly copying your patch and trying to apply it it gave me an error in line 42.

But it was right that I missed a change in your patch. Now i was able to download the video perfectly. Thank you.

bashonly commented 1 year ago

@theDispare In the future, you need to copy the entire patch, all the way down to the very bottom line (e.g. class DiscoveryPlusShowBaseIE(DPlayBaseIE):) or else git can't parse the patch correctly. Glad you got it working though

ffw2 commented 1 year ago

@theDispare Would it be possible for you to provide me with the new yt-dlp.exe for testing? Thanks!

bashonly commented 1 year ago

Here is a pre-release build for testing: https://github.com/bashonly/yt-dlp/releases/tag/2023.10.03.043124

or you can run this:

yt-dlp --update-to bashonly/yt-dlp@2023.10.03.043124
Fantastik07 commented 1 year ago

You could make a patch or a pre-release also for discoveryplus.com/it please? ç.ç

bashonly commented 1 year ago

@Fantastik07 try this build, it may work for more sites than just DE

jaylex32 commented 1 year ago

I can confirm that with the patch release above is working perfectly fine with Investigation Discovery, is this going to be add it to the next release?

bashonly commented 1 year ago

is this going to be add it to the next release?

As I mentioned above, the patch makes changes that impact several other sites' extractors. I am not able to test all of these sites due to some geo-restrictions and subscription requirements. If others want to help test and report back (with logs), that would help towards getting this merged

ffw2 commented 1 year ago

@bashonly I can confirm that the download from dmax.de is working without any problems:

dmax

But discoveryplus.com is not working for me using --cookies-from-browser chrome. Maybe I'm doing something wrong, because in the past discoveryplus.com also didn't work for me:

discovery

jaylex32 commented 1 year ago

@bashonly I can confirm that the download from dmax.de is working without any problems:

dmax

But discoveryplus.com is not working for me using --cookies-from-browser chrome. Maybe I'm doing something wrong, because in the past discoveryplus.com also didn't work for me:

discovery

try with cookies.txt, it works for me like that.

bashonly commented 1 year ago

I'm curious on how it impact other extractors, it shares a code with other extractors or what's the reason?

The patch modifies the extractor base class DiscoveryPlusBaseIE, from which all of the below extractors inherit code:

GoDiscoveryIE
TravelChannelIE
CookingChannelIE
HGTVUsaIE
FoodNetworkIE
DestinationAmericaIE
InvestigationDiscoveryIE
AmHistoryChannelIE
ScienceChannelIE
DIYNetworkIE
DiscoveryLifeIE
AnimalPlanetIE
TLCIE
MotorTrendIE
MotorTrendOnDemandIE
DiscoveryPlusIE
DiscoveryPlusIndiaIE
DiscoveryPlusItalyIE
GlobalCyclingNetworkPlusIE
ffw2 commented 1 year ago

try with cookies.txt, it works for me like that.

@jaylex32 thanks, but doesn't work. I use the chrome extension "Get cookies.txt LOCALLY" with Netscape format. It irritates me that the command line says: "This video is only available for registered users. You may want to use --cookies."

discovery_2

jaylex32 commented 1 year ago

try with cookies.txt, it works for me like that.

@jaylex32 thanks, but doesn't work. I use the chrome extension "Get cookies.txt LOCALLY" with Netscape format. It irritates me that the command line says: "This video is only available for registered users. You may want to use --cookies."

discovery_2

do you have access to it? are you been able to see the episodes in the browser? if you dont have an account or tv provider I dont think you will be able to get it if you do, try to use the go.discovery.com for example look:

[GoDiscovery] Extracting URL: https://go.discovery.com/video/dual-survival-discovery/shipwrecked [GoDiscovery] dual-survival-discovery/shipwrecked: Downloading JSON metadata [GoDiscovery] 2194327: Downloading JSON metadata [GoDiscovery] dual-survival-discovery/shipwrecked: Downloading m3u8 information [info] 2194327: Downloading 1 format(s): hls-10245+hls-audio-aacl-125-English [hlsnative] Downloading m3u8 manifest [hlsnative] Total fragments: 656 [download] Destination: C:\Users\J-PLEX SERVER\source\repos\new ASD Downloader\bin\Debug\net6.0-windows\win-x64\Downloads\Shipwrecked.fhls-10245.mp4 [download] 0.0% of ~ 472.58MiB at 4.36KiB/s ETA 30:51:45 (frag 0/656) [download] 0.0% of ~ 472.58MiB at 13.01KiB/s ETA 10:19:57 (frag 0/656) [download] 0.0% of ~ 472.58MiB at 30.22KiB/s ETA 04:26:50 (frag 0/656) [download] 0.0% of ~ 472.58MiB at 64.49KiB/s ETA 02:05:03 (frag 0/656) [download] 0.0% of ~ 472.58MiB at 126.03KiB/s ETA 01:03:59 (frag 0/656) [download] 0.0% of ~ 472.58MiB at 254.06KiB/s ETA 31:44 (frag 0/656)
[download] 0.0% of ~ 472.58MiB at 473.87KiB/s ETA 17:00 (frag 0/656) [download] 0.1% of ~ 472.58MiB at 869.84KiB/s ETA 09:16 (frag 0/656)

ffw2 commented 1 year ago

do you have access to it? are you been able to see the episodes in the browser? if you dont have an account or tv provider I dont think you will be able to get it if you do, try to use the go.discovery.com for example look:

Sure, I have an account and I'm logged in and can play all content. In the cookies.txt file are also all necessary data from discoveryplus.com I think.

go.discovery. com isn't available in my country. Others have/had problems with it too (reddit, ...) and I've tried everything but it doesn't work. So I don't know what I can do.

MagicAndre1981 commented 1 year ago

Here is a pre-release build for testing:

works fine for me to download 112: Feuerwehr im Einsatz 👍

Fantastik07 commented 1 year ago

@bashonly unfortunately that build with discoveryplus.com/it doesn't work the same, so I hope someone can make a patch for discoveryplus.com/it as was done for discovery de, which seems to work fine

bashonly commented 1 year ago

@Fantastik07 are you passing logged-in cookies to yt-dlp? are you experiencing #2361 or #2138? share a verbose log, or open a new issue if your issue seems unrelated to the linked issues

si70so15 commented 11 months ago

Here is a pre-release build for testing: https://github.com/bashonly/yt-dlp/releases/tag/2023.10.03.043124

or you can run this:

yt-dlp --update-to bashonly/yt-dlp@2023.10.03.043124

thank you bashonly, your patch work fine like a previous. I would also ask to you, if this patch will be inserted on the next release of yt-dlp, or you must make a new fix after release of new one.

Thank you very much.

Fantastik07 commented 11 months ago

@bashonly yes, sure, I'm passing logged-in cookies from firefox to yt-dlp, you can see it in the screenshot of the first message I posted, and now by installing your patch it works also for me, and I can download again from discoveryplus.com/it and the message "WARNING: This video is drm protected and only images are available for download." no longer comes out, but now I have another problem, every video I download when I open it the audio is only there for the first 3 seconds, then it stops and the rest of the video is without audio, and I don't understand why...

Screenshot_1 Screenshot_2

medienoekonom commented 10 months ago

Oh dmax is getting me headaches..... I got the links for the dmax show https://dmax.de/sendungen/steel-buddies with this cool shit: https://github.com/Brawl345/Get-DMAX-Links

Then I installed the cool build from bashonly. tried to download the video normally -> it says DRM protection. Next shot: tried to use with firefox cookies - same thing happens.

What can i Do?

C:\dmax>yt-dlp --cookies-from-browser firefox -vU "https://dplaydk-prod-vod.akamaized.net/a01c83b8-ccd7-482c-827d-32f4e9ebcf07/hls_fairPlay_ts/hdntl=exp=1699441390~acl=/a01c83b8-ccd7-482c-827d-32f4e9ebcf07/hls_fairPlay_ts/*~data=hdntl~hmac=4925510db10912dd1f4075d83672df18d331a6719e8643d392c3f3b2b32794b4/master.m3u8" -o "Steel Buddies - S11E01 - Der bockige Brite.mp4" [debug] Command-line config: ['--cookies-from-browser', 'firefox', '-vU', 'https://dplaydk-prod-vod.akamaized.net/a01c83b8-ccd7-482c-827d-32f4e9ebcf07/hls_fairPlay_ts/hdntl=exp=1699441390~acl=/a01c83b8-ccd7-482c-827d-32f4e9ebcf07/hls_fairPlay_ts/*~data=hdntl~hmac=4925510db10912dd1f4075d83672df18d331a6719e8643d392c3f3b2b32794b4/master.m3u8', '-o', 'Steel Buddies - S11E01 - Der bockige Brite.mp4'] Extracting cookies from firefox [debug] Extracting cookies from: "C:\Users\offic\AppData\Roaming\Mozilla\Firefox\Profiles\x8obf8sg.default-release\cookies.sqlite" Extracted 145 cookies from firefox [debug] Encodings: locale cp1252, fs utf-8, pref cp1252, out utf-8, error utf-8, screen utf-8 [debug] yt-dlp version stable@2023.10.03.043124 [15a9edd22] (win_exe) [debug] Python 3.8.10 (CPython AMD64 64bit) - Windows-10-10.0.19045-SP0 (OpenSSL 1.1.1k 25 Mar 2021) [debug] exe versions: none [debug] Optional libraries: Cryptodome-3.19.0, brotli-1.1.0, certifi-2023.07.22, mutagen-1.47.0, sqlite3-3.35.5, websockets-11.0.3 [debug] Proxy map: {} [debug] Loaded 1886 extractors [debug] Fetching release info: https://api.github.com/repos/yt-dlp/yt-dlp/releases/latest Available version: stable@2023.10.13, Current version: stable@2023.10.03.043124 Current Build Hash: 2ab3e2890dcbbdde0afd11b1a0fdc254fab3e0c39bb7d8efb8ed589216e51a02 [debug] Downloading _update_spec from https://github.com/yt-dlp/yt-dlp/releases/latest/download/_update_spec Updating to stable@2023.10.13 ... [debug] Downloading yt-dlp.exe from https://github.com/yt-dlp/yt-dlp/releases/latest/download/yt-dlp.exe [debug] Downloading SHA2-256SUMS from https://github.com/yt-dlp/yt-dlp/releases/latest/download/SHA2-256SUMS Updated yt-dlp to stable@2023.10.13 [debug] Restarting: yt-dlp --cookies-from-browser firefox -vU "https://dplaydk-prod-vod.akamaized.net/a01c83b8-ccd7-482c-827d-32f4e9ebcf07/hls_fairPlay_ts/hdntl=exp=1699441390~acl=/a01c83b8-ccd7-482c-827d-32f4e9ebcf07/hls_fairPlay_ts/*~data=hdntl~hmac=4925510db10912dd1f4075d83672df18d331a6719e8643d392c3f3b2b32794b4/master.m3u8" -o "Steel Buddies - S11E01 - Der bockige Brite.mp4" [debug] Command-line config: ['--cookies-from-browser', 'firefox', '-vU', 'https://dplaydk-prod-vod.akamaized.net/a01c83b8-ccd7-482c-827d-32f4e9ebcf07/hls_fairPlay_ts/hdntl=exp=1699441390~acl=/a01c83b8-ccd7-482c-827d-32f4e9ebcf07/hls_fairPlay_ts/*~data=hdntl~hmac=4925510db10912dd1f4075d83672df18d331a6719e8643d392c3f3b2b32794b4/master.m3u8', '-o', 'Steel Buddies - S11E01 - Der bockige Brite.mp4'] Extracting cookies from firefox [debug] Extracting cookies from: "C:\Users\offic\AppData\Roaming\Mozilla\Firefox\Profiles\x8obf8sg.default-release\cookies.sqlite" Extracted 145 cookies from firefox [debug] Encodings: locale cp1252, fs utf-8, pref cp1252, out utf-8, error utf-8, screen utf-8 [debug] yt-dlp version stable@2023.10.13 [b634ba742] (win_exe) [debug] Python 3.8.10 (CPython AMD64 64bit) - Windows-10-10.0.19045-SP0 (OpenSSL 1.1.1k 25 Mar 2021) [debug] exe versions: none [debug] Optional libraries: Cryptodome-3.19.0, brotli-1.1.0, certifi-2023.07.22, mutagen-1.47.0, sqlite3-3.35.5, websockets-11.0.3 [debug] Proxy map: {} [debug] Loaded 1890 extractors [debug] Fetching release info: https://api.github.com/repos/yt-dlp/yt-dlp/releases/latest Available version: stable@2023.10.13, Current version: stable@2023.10.13 Current Build Hash: 13d6a04ef6678dc61cb6e2d42eb53e69486bd2f52b8e5d778db029ccd4c600b4 yt-dlp is up to date (stable@2023.10.13) [generic] Extracting URL: https://dplaydk-prod-vod.akamaized.net/a01c83b8-ccd7-482c-827d-32f4e9ebcf07/hls_fairPlay_ts/hdntl=exp=1699441390~acl=/a01c83b8-ccd7-482c-827d-32f4e9ebcf07/hls_fairPlay_ts/*~data=hdntl~hmac=4925510db10912dd1f4075d83672df18d331a6719e8643d392c3f3b2b32794b4/master.m3u8 [generic] master: Downloading webpage [debug] Identified a direct video link [generic] master: Downloading m3u8 information [generic] master: Checking m3u8 live status ERROR: [generic] master: This video is DRM protected Traceback (most recent call last): File "yt_dlp\YoutubeDL.py", line 1567, in wrapper File "yt_dlp\YoutubeDL.py", line 1723, in __extract_info File "yt_dlp\YoutubeDL.py", line 1782, in process_ie_result File "yt_dlp\YoutubeDL.py", line 2751, in process_video_result File "yt_dlp\YoutubeDL.py", line 1076, in raise_no_formats yt_dlp.utils.ExtractorError: [generic] master: This video is DRM protected

OdomLinx commented 10 months ago

Oh dmax is getting me headaches..... I got the links for the dmax show https://dmax.de/sendungen/steel-buddies with this cool shit: https://github.com/Brawl345/Get-DMAX-Links

Then I installed the cool build from bashonly. tried to download the video normally -> it says DRM protection. Next shot: tried to use with firefox cookies - same thing happens.

With the extracted Link from "Get-DMAX-Links" i've the same problem, but with the direkt link from DMAX (https://dmax.de/sendungen/steel-buddies/der-bockige-brite) the download works without cookies from browser.

fnordson commented 10 months ago

With the extracted Link from "Get-DMAX-Links" i've the same problem, but with the direkt link from DMAX (https://dmax.de/sendungen/steel-buddies/der-bockige-brite) the download works without cookies from browser.

I have the same problem as @medienoekonom and trying to download from the direct link gives me an 11MB .mhtml-File. Which command did you use?

OdomLinx commented 10 months ago

With the extracted Link from "Get-DMAX-Links" i've the same problem, but with the direkt link from DMAX (https://dmax.de/sendungen/steel-buddies/der-bockige-brite) the download works without cookies from browser.

I have the same problem as @medienoekonom and trying to download from the direct link gives me an 11MB .mhtml-File. Which command did you use?

Strange, now it doesn't work for me either. Yesterday it still worked.

I had tried something around:

today exactly this procedure does not work anymore and I get the DRM error

Both days with yt-dlp version stable@2023.11.16 from yt-dlp/yt-dlp [24f827875]

ffw2 commented 8 months ago

@bashonly since your pre-release for testing works good to download for single episodes, can you please integrate into the official yt-dlp.exe? Thank you!

jaylex32 commented 8 months ago

@bashonly this fix is been hanging around for a while and it haven't been introduce to the main release, can you please merge the patch or maybe create a newer patch with the latest release? thanks in advance.