[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 @@ def _real_extract(self, url):
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