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 = self._download_json(
|
||||||
manifest_url,
|
manifest_url,
|
||||||
video_id,
|
video_id,
|
||||||
headers=self._HEADERS,
|
'Downloading links to streams.',
|
||||||
fatal=False)
|
'Link to stream URLs was found, but we couldn\'t access it.',
|
||||||
if not manifest:
|
headers=self._HEADERS)
|
||||||
raise ExtractorError(
|
|
||||||
'Link to stream URLs was found, but we couldn\'t access it.',
|
|
||||||
expected=False,
|
|
||||||
video_id=video_id)
|
|
||||||
try:
|
try:
|
||||||
rtmp_formats = manifest['formats']['mp4-rtmp']['encodings']
|
rtmp_formats = manifest['formats']['mp4-rtmp']['encodings']
|
||||||
formats = []
|
formats = []
|
||||||
|
Loading…
x
Reference in New Issue
Block a user