mirror of
https://github.com/yt-dlp/yt-dlp.git
synced 2024-11-28 15:46:54 +01:00
[screenwavemedia] warn when falling back to a hardcoded list of streams
This commit is contained in:
parent
9b22cb10c4
commit
e276fd2cb3
@ -56,6 +56,7 @@ def _real_extract(self, url):
|
|||||||
|
|
||||||
# Fallback to hardcoded sources if JS changes again
|
# Fallback to hardcoded sources if JS changes again
|
||||||
if not sources:
|
if not sources:
|
||||||
|
self.report_warning('Falling back to a hardcoded list of streams')
|
||||||
sources = [{
|
sources = [{
|
||||||
'file': 'http://%s/vod/%s_%s.mp4' % (videoserver, video_id, format_id),
|
'file': 'http://%s/vod/%s_%s.mp4' % (videoserver, video_id, format_id),
|
||||||
'type': 'mp4',
|
'type': 'mp4',
|
||||||
|
Loading…
Reference in New Issue
Block a user