[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 @@ class STVPlayerIE(InfoExtractor):
}) })
programme = result.get('programme') or {} programme = result.get('programme') or {}
if programme.get('drmEnabled'):
self.report_drm(video_id)
return { return {
'_type': 'url_transparent', '_type': 'url_transparent',