mirror of
https://github.com/yt-dlp/yt-dlp
synced 2025-12-17 06:35:42 +07:00
@@ -4,7 +4,6 @@
|
||||
|
||||
from .common import InfoExtractor
|
||||
from ..utils import (
|
||||
ExtractorError,
|
||||
float_or_none,
|
||||
int_or_none,
|
||||
parse_iso8601,
|
||||
@@ -35,7 +34,7 @@ def _real_extract(self, url):
|
||||
|
||||
if (not self.get_param('allow_unplayable_formats')
|
||||
and try_get(content_package, lambda x: x['Constraints']['Security']['Type'])):
|
||||
raise ExtractorError('This video is DRM protected.', expected=True)
|
||||
self.report_drm(content_id)
|
||||
|
||||
manifest_base_url = content_package_url + 'manifest.'
|
||||
formats = []
|
||||
|
||||
Reference in New Issue
Block a user