aboutsummaryrefslogtreecommitdiffstats
path: root/youtube_dl/extractor/uplynk.py
diff options
context:
space:
mode:
authorRemita Amine <remitamine@gmail.com>2016-12-20 19:49:45 +0100
committerRemita Amine <remitamine@gmail.com>2016-12-20 19:49:45 +0100
commitbfa1073e113cb7fa8a362112d4eae6dede197efa (patch)
tree7a4321aa1904f75b6cc34f11e3d24b3a82a3ef22 /youtube_dl/extractor/uplynk.py
parente029c43bd43ddde448b150b1e0f226e4dd8c9b90 (diff)
downloadyoutube-dl-bfa1073e113cb7fa8a362112d4eae6dede197efa.zip
youtube-dl-bfa1073e113cb7fa8a362112d4eae6dede197efa.tar.gz
youtube-dl-bfa1073e113cb7fa8a362112d4eae6dede197efa.tar.bz2
[uplynk] force downloading using hls native downloader(closes #11496)
Diffstat (limited to 'youtube_dl/extractor/uplynk.py')
-rw-r--r--youtube_dl/extractor/uplynk.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/youtube_dl/extractor/uplynk.py b/youtube_dl/extractor/uplynk.py
index 2cd22cf..f06bf5b 100644
--- a/youtube_dl/extractor/uplynk.py
+++ b/youtube_dl/extractor/uplynk.py
@@ -30,7 +30,9 @@ class UplynkIE(InfoExtractor):
def _extract_uplynk_info(self, uplynk_content_url):
path, external_id, video_id, session_id = re.match(UplynkIE._VALID_URL, uplynk_content_url).groups()
display_id = video_id or external_id
- formats = self._extract_m3u8_formats('http://content.uplynk.com/%s.m3u8' % path, display_id, 'mp4')
+ formats = self._extract_m3u8_formats(
+ 'http://content.uplynk.com/%s.m3u8' % path,
+ display_id, 'mp4', 'm3u8_native')
if session_id:
for f in formats:
f['extra_param_to_segment_url'] = 'pbs=' + session_id