aboutsummaryrefslogtreecommitdiff
path: root/youtube_dl/extractor/uplynk.py
diff options
context:
space:
mode:
authorRemita Amine <remitamine@gmail.com>2016-08-28 17:51:53 +0100
committerRemita Amine <remitamine@gmail.com>2016-08-28 17:51:53 +0100
commitb8079a40bc61326b17a672b073dce6cdfa791fb5 (patch)
treec8f0d0afc80b8b9901fdcbad5a39297bf76bd13e /youtube_dl/extractor/uplynk.py
parent5bc8a73af69f4aac8b2df6f7c23ecfb4ee72e518 (diff)
[turner] fix secure m3u8 formats downloading
Diffstat (limited to 'youtube_dl/extractor/uplynk.py')
-rw-r--r--youtube_dl/extractor/uplynk.py4
1 files changed, 1 insertions, 3 deletions
diff --git a/youtube_dl/extractor/uplynk.py b/youtube_dl/extractor/uplynk.py
index ae529f690..2cd22cf8a 100644
--- a/youtube_dl/extractor/uplynk.py
+++ b/youtube_dl/extractor/uplynk.py
@@ -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: