]> Raphaƫl G. Git Repositories - youtubedl/blobdiff - youtube_dl/extractor/uplynk.py
Merge tag 'upstream/2016.12.01'
[youtubedl] / youtube_dl / extractor / uplynk.py
index ae529f690d10606f065e31ef68d73745109578f2..2cd22cf8a1afa51403b3b9801ca7dd08c03503a9 100644 (file)
@@ -33,9 +33,7 @@ class UplynkIE(InfoExtractor):
         formats = self._extract_m3u8_formats('http://content.uplynk.com/%s.m3u8' % path, display_id, 'mp4')
         if session_id:
             for f in formats:
-                f['extra_param_to_segment_url'] = {
-                    'pbs': session_id,
-                }
+                f['extra_param_to_segment_url'] = 'pbs=' + session_id
         self._sort_formats(formats)
         asset = self._download_json('http://content.uplynk.com/player/assetinfo/%s.json' % path, display_id)
         if asset.get('error') == 1: