[cctv] De-prioritize sample format

Closes #2479
This commit is contained in:
pukkandan 2022-02-02 07:44:04 +05:30
parent 67fb99f193
commit 35cd4c4d88
No known key found for this signature in database
GPG Key ID: 0F00D95A001F4698

View File

@ -162,7 +162,8 @@ def _real_extract(self, url):
'url': video_url, 'url': video_url,
'format_id': 'http', 'format_id': 'http',
'quality': quality, 'quality': quality,
'source_preference': -10 # Sample clip
'preference': -10
}) })
hls_url = try_get(data, lambda x: x['hls_url'], compat_str) hls_url = try_get(data, lambda x: x['hls_url'], compat_str)