aboutsummaryrefslogtreecommitdiff
path: root/youtube_dl/downloader
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/downloader
parente029c43bd43ddde448b150b1e0f226e4dd8c9b90 (diff)
[uplynk] force downloading using hls native downloader(closes #11496)
Diffstat (limited to 'youtube_dl/downloader')
-rw-r--r--youtube_dl/downloader/hls.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/youtube_dl/downloader/hls.py b/youtube_dl/downloader/hls.py
index 7373ec05f..4989abce1 100644
--- a/youtube_dl/downloader/hls.py
+++ b/youtube_dl/downloader/hls.py
@@ -65,6 +65,9 @@ class HlsFD(FragmentFD):
s = manifest.decode('utf-8', 'ignore')
if not self.can_download(s, info_dict):
+ if info_dict.get('extra_param_to_segment_url'):
+ self.report_error('pycrypto not found. Please install it.')
+ return False
self.report_warning(
'hlsnative has detected features it does not support, '
'extraction will be delegated to ffmpeg')