mirror of
https://github.com/ytdl-org/youtube-dl
synced 2024-11-24 00:36:52 +01:00
[pluralsight] Fix format code split while guessing quality
This commit is contained in:
parent
756926ff00
commit
edc70f4aaf
@ -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:
|
||||
|
Loading…
Reference in New Issue
Block a user