projects
/
youtube-dl
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d6e4ba2
)
[bandcamp] Replace maxsplit keyword argument with regular one
author
Sergey M․
<dstftw@gmail.com>
Tue, 20 May 2014 12:44:42 +0000
(19:44 +0700)
committer
Sergey M․
<dstftw@gmail.com>
Tue, 20 May 2014 12:44:42 +0000
(19:44 +0700)
Named arguments are not supported by methods implemented in native C (see http://bugs.python.org/issue1176)
youtube_dl/extractor/bandcamp.py
patch
|
blob
|
history
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():
- ext, abr_str = format_id.split('-',
maxsplit=
1)
+ ext, abr_str = format_id.split('-', 1)
formats.append({
'format_id': format_id,
'url': format_url,