aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--youtube_dl/extractor/bandcamp.py2
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,