mirror of
https://github.com/l1ving/youtube-dl
synced 2025-03-14 07:37:25 +08:00
Make download of JSON list of video URLs fatal. Use note and errNote instead of directly raising ExtractorErrors
This commit is contained in:
parent
af9fa317f1
commit
f9d000e265
@ -54,13 +54,9 @@ class CamModelsIE(InfoExtractor):
|
||||
manifest = self._download_json(
|
||||
manifest_url,
|
||||
video_id,
|
||||
headers=self._HEADERS,
|
||||
fatal=False)
|
||||
if not manifest:
|
||||
raise ExtractorError(
|
||||
'Link to stream URLs was found, but we couldn\'t access it.',
|
||||
expected=False,
|
||||
video_id=video_id)
|
||||
'Downloading links to streams.',
|
||||
'Link to stream URLs was found, but we couldn\'t access it.',
|
||||
headers=self._HEADERS)
|
||||
try:
|
||||
rtmp_formats = manifest['formats']['mp4-rtmp']['encodings']
|
||||
formats = []
|
||||
|
Loading…
x
Reference in New Issue
Block a user