1
1
mirror of https://github.com/ytdl-org/youtube-dl synced 2024-11-27 17:26:51 +01:00

[generic] pass base_url to _parse_jwplayer_data

This commit is contained in:
Remita Amine 2017-03-31 14:54:06 +01:00
parent 82be732b17
commit 3e943cfe09

View File

@ -2568,7 +2568,7 @@ class GenericIE(InfoExtractor):
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( info = self._parse_jwplayer_data(
jwplayer_data, video_id, require_title=False) jwplayer_data, video_id, require_title=False, base_url=url)
if not info.get('title'): if not info.get('title'):
info['title'] = video_title info['title'] = video_title
return info return info