projects
/
youtube-dl
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
756926f
)
[pluralsight] Fix format code split while guessing quality
author
Sergey M․
<dstftw@gmail.com>
Sat, 5 Dec 2015 19:40:13 +0000
(
01:40
+0600)
committer
Sergey M․
<dstftw@gmail.com>
Sat, 5 Dec 2015 19:40:13 +0000
(
01:40
+0600)
youtube_dl/extractor/pluralsight.py
patch
|
blob
|
history
diff --git
a/youtube_dl/extractor/pluralsight.py
b/youtube_dl/extractor/pluralsight.py
index 336374bf7737d6d42ed4cdd599e26619360b7181..55c11b3bf89be7196c3c95d0a3fb25dae27ce51b 100644
(file)
--- 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: