1
0
Fork 0
mirror of https://gitlab.com/dstftw/youtube-dl.git synced 2020-11-16 09:42:26 +00: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