-
-
Notifications
You must be signed in to change notification settings - Fork 5.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
on.orf.at not complete DRM detection #9652
Labels
DRM
The referred content is DRM protected
patch-available
There is patch available that should fix this issue. Someone needs to make a PR with it
site-bug
Issue with a specific website
Comments
TuxCoder
changed the title
on.orf.at not complete DRM detecten
on.orf.at not complete DRM detection
Apr 8, 2024
since it's an all-or-none situation, I'd just do this diff --git a/yt_dlp/extractor/orf.py b/yt_dlp/extractor/orf.py
index 526e9acaf..63bc2625c 100644
--- a/yt_dlp/extractor/orf.py
+++ b/yt_dlp/extractor/orf.py
@@ -590,6 +590,9 @@ def _extract_video(self, video_id, display_id):
api_json = self._download_json(
f'https://api-tvthek.orf.at/api/v4.3/public/episode/encrypted/{encrypted_id}', display_id)
+ if traverse_obj(api_json, 'is_drm_protected'):
+ self.report_drm(video_id)
+
formats, subtitles = [], {}
for manifest_type in traverse_obj(api_json, ('sources', {dict.keys}, ...)):
for manifest_url in traverse_obj(api_json, ('sources', manifest_type, ..., 'src', {url_or_none})): |
bashonly
added
patch-available
There is patch available that should fix this issue. Someone needs to make a PR with it
DRM
The referred content is DRM protected
and removed
triage
Untriaged issue
labels
Apr 9, 2024
TuxCoder
pushed a commit
to TuxCoder/yt-dlp
that referenced
this issue
Apr 12, 2024
some videos formats are not reported as DRM protected fixes: yt-dlp#9652
TuxCoder
pushed a commit
to TuxCoder/yt-dlp
that referenced
this issue
Apr 12, 2024
some videos formats are not reported as DRM protected fixes: yt-dlp#9652
TuxCoder
pushed a commit
to TuxCoder/yt-dlp
that referenced
this issue
Apr 12, 2024
some videos formats are not reported as DRM protected fixes: yt-dlp#9652
TuxCoder
pushed a commit
to TuxCoder/yt-dlp
that referenced
this issue
Apr 12, 2024
some videos formats are not reported as DRM protected fixes: yt-dlp#9652
TuxCoder
pushed a commit
to TuxCoder/yt-dlp
that referenced
this issue
May 20, 2024
some videos formats were not reported as DRM protected fixes: yt-dlp#9652
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
DRM
The referred content is DRM protected
patch-available
There is patch available that should fix this issue. Someone needs to make a PR with it
site-bug
Issue with a specific website
DO NOT REMOVE OR SKIP THE ISSUE TEMPLATE
Checklist
Region
Austria
Provide a description that is worded well enough to be understood
I found a video that is DRM Protected but the
-F
parameter reports available formats to download:I added the
--allow-unplayable-formats
for better understanding, what is marked as DRM and what not.All should be marked but some aren't
See Complete Verbose Output
all of them are DRM protected what can be found out by
--check-formats
I created a openapi description for the new
v4.3
api that can be found here:https://gist.github.com/TuxCoder/6987f49e01d8ef826037cb99afdcc1b2
The interessting part is the public api
https://gist.github.com/TuxCoder/6987f49e01d8ef826037cb99afdcc1b2#file-openapiv3-yaml-L626
with the content of an
Episode
https://gist.github.com/TuxCoder/6987f49e01d8ef826037cb99afdcc1b2#file-openapiv3-yaml-L813
there is a field calld
is_drm_protected
what should be reliableEdit:
There is also the same field for each
Source
https://gist.github.com/TuxCoder/6987f49e01d8ef826037cb99afdcc1b2#file-openapiv3-yaml-L674
The Json in question can be fetched here:
https://api-tvthek.orf.at/api/v4.3/public/episode/encrypted/M2RTbGZlazAzbnNMS2RqNEpzZDE0MjE3MDAy
EndEdit
I tested this with a small patch
what looks like to fix the problem:
Now all are formats are shown as DRM protected
but I'm not sure its the right place
Also thanks to all Maintainer / Contributor, this is a awesome tool.
Provide verbose output that clearly demonstrates the problem
yt-dlp -vU <your command line>
)'verbose': True
toYoutubeDL
params instead[debug] Command-line config
) and insert it belowComplete Verbose Output
The text was updated successfully, but these errors were encountered: