1
0
mirror of https://github.com/yt-dlp/yt-dlp.git synced 2025-12-19 06:28:52 +00:00

Remove allow-u from extractors

This commit is contained in:
Simon Sawicki
2024-12-20 21:53:33 +01:00
parent 6e7072c53a
commit ec8b22b1c1
19 changed files with 48 additions and 35 deletions

View File

@@ -142,7 +142,7 @@ class SonyLIVIE(InfoExtractor):
video_id = self._match_id(url)
content = self._call_api(
'1.5', 'IN/CONTENT/VIDEOURL/VOD/' + video_id, video_id)
if not self.get_param('allow_unplayable_formats') and content.get('isEncrypted'):
if content.get('isEncrypted'):
self.report_drm(video_id)
dash_url = content['videoURL']
headers = {