]> git.bitcoin.ninja Git - youtube-dl/commitdiff
[generic] pass base_url to _parse_jwplayer_data
authorRemita Amine <remitamine@gmail.com>
Fri, 31 Mar 2017 13:54:06 +0000 (14:54 +0100)
committerRemita Amine <remitamine@gmail.com>
Fri, 31 Mar 2017 13:54:06 +0000 (14:54 +0100)
youtube_dl/extractor/generic.py

index 274f817384d65a6287427ad35f97d3126cea7cd0..73911940c4c8d1e2752147afa0e2f16445d97a62 100644 (file)
@@ -2568,7 +2568,7 @@ class GenericIE(InfoExtractor):
             webpage, video_id, transform_source=js_to_json)
         if 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'):
                 info['title'] = video_title
             return info