[extractor/stv] Detect DRM

Closes #5320
This commit is contained in:
pukkandan 2022-12-30 10:12:13 +05:30
parent efa944f4bc
commit 4455918e7f
No known key found for this signature in database
GPG Key ID: 7EEE9E1E817D0A39

View File

@ -73,6 +73,8 @@ def _real_extract(self, url):
})
programme = result.get('programme') or {}
if programme.get('drmEnabled'):
self.report_drm(video_id)
return {
'_type': 'url_transparent',