1
0
mirror of https://github.com/l1ving/youtube-dl synced 2025-03-12 23:17:15 +08:00

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

This commit is contained in:
Mohammed Yaseen Mowzer 2018-06-14 17:12:33 +02:00 committed by Ni Ndogo
parent 92442c04ab
commit c7bfe7f1a1

View File

@ -3150,9 +3150,13 @@ class GenericIE(InfoExtractor):
jwplayer_data = self._find_jwplayer_data(
webpage, video_id, transform_source=js_to_json)
if jwplayer_data:
try:
info = self._parse_jwplayer_data(
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
mobj = re.search(