diff options
author | Sergey M․ <dstftw@gmail.com> | 2014-05-20 19:44:42 +0700 |
---|---|---|
committer | Sergey M․ <dstftw@gmail.com> | 2014-05-20 19:44:42 +0700 |
commit | 2902d44f994ec8140595855f8d5b85601fae164f (patch) | |
tree | ef7e29baf4217c4384998826b4b769f248249e74 /youtube_dl/extractor/bandcamp.py | |
parent | d6e4ba287b910eb00867b14c94ac6fdddf10a7cf (diff) |
[bandcamp] Replace maxsplit keyword argument with regular one
Named arguments are not supported by methods implemented in native C (see http://bugs.python.org/issue1176)
Diffstat (limited to 'youtube_dl/extractor/bandcamp.py')
-rw-r--r-- | youtube_dl/extractor/bandcamp.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/youtube_dl/extractor/bandcamp.py b/youtube_dl/extractor/bandcamp.py index be4123d85..dcbbdef43 100644 --- a/youtube_dl/extractor/bandcamp.py +++ b/youtube_dl/extractor/bandcamp.py @@ -37,7 +37,7 @@ class BandcampIE(InfoExtractor): formats = [] for format_id, format_url in data['file'].items(): - ext, abr_str = format_id.split('-', maxsplit=1) + ext, abr_str = format_id.split('-', 1) formats.append({ 'format_id': format_id, 'url': format_url, |