0
0
Fork 0

[generic] Skip unsuccessful jwplayer extraction (closes #16735)

main
Mohammed Yaseen Mowzer 2018-06-14 17:12:33 +02:00 committed by Sergey M․
parent 27d8e089a2
commit 3d08f63dc5
No known key found for this signature in database
GPG Key ID: 2C393E0F18A9236D
1 changed files with 7 additions and 3 deletions

View File

@ -3150,9 +3150,13 @@ class GenericIE(InfoExtractor):
jwplayer_data = self._find_jwplayer_data( jwplayer_data = self._find_jwplayer_data(
webpage, video_id, transform_source=js_to_json) webpage, video_id, transform_source=js_to_json)
if jwplayer_data: if jwplayer_data:
info = self._parse_jwplayer_data( try:
jwplayer_data, video_id, require_title=False, base_url=url) info = self._parse_jwplayer_data(
return merge_dicts(info, info_dict) jwplayer_data, video_id, require_title=False, base_url=url)
return merge_dicts(info, info_dict)
except ExtractorError:
# See https://github.com/rg3/youtube-dl/pull/16735
pass
# Video.js embed # Video.js embed
mobj = re.search( mobj = re.search(