projects
/
youtube-dl
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
[gameone] simplify playlist extractor
[youtube-dl]
/
youtube_dl
/
extractor
/
bandcamp.py
diff --git
a/youtube_dl/extractor/bandcamp.py
b/youtube_dl/extractor/bandcamp.py
index be4123d85ebbaf56f058ce10da50bef6ad9f5305..dcbbdef4346c36c789e49531df1dc602bc35255b 100644
(file)
--- 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():
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,
formats.append({
'format_id': format_id,
'url': format_url,