From 2902d44f994ec8140595855f8d5b85601fae164f Mon Sep 17 00:00:00 2001 From: =?utf8?q?Sergey=20M=E2=80=A4?= Date: Tue, 20 May 2014 19:44:42 +0700 Subject: [PATCH] [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) --- youtube_dl/extractor/bandcamp.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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, -- 2.22.2