aboutsummaryrefslogtreecommitdiff
path: root/youtube_dl/extractor/pluralsight.py
diff options
context:
space:
mode:
authorSergey M․ <dstftw@gmail.com>2015-12-06 01:40:13 +0600
committerSergey M․ <dstftw@gmail.com>2015-12-06 01:40:13 +0600
commitedc70f4aaf08009c95cb5e91878461cc7b508f68 (patch)
tree6c48afb91e85393c0d2d1e5b0b67bf0a6afe4b0f /youtube_dl/extractor/pluralsight.py
parent756926ff00b1b0bf5face8116657c99d8ae22172 (diff)
[pluralsight] Fix format code split while guessing quality
Diffstat (limited to 'youtube_dl/extractor/pluralsight.py')
-rw-r--r--youtube_dl/extractor/pluralsight.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/youtube_dl/extractor/pluralsight.py b/youtube_dl/extractor/pluralsight.py
index 336374bf7..55c11b3bf 100644
--- a/youtube_dl/extractor/pluralsight.py
+++ b/youtube_dl/extractor/pluralsight.py
@@ -172,7 +172,7 @@ class PluralsightIE(PluralsightBaseIE):
else:
def guess_allowed_qualities():
req_format = self._downloader.params.get('format') or 'best'
- req_format_split = req_format.split('-')
+ req_format_split = req_format.split('-', 1)
if len(req_format_split) > 1:
req_ext, req_quality = req_format_split
for allowed_quality in ALLOWED_QUALITIES: