projects
/
youtube-dl
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4c57b48
)
[soundcloud] Remove unused variable
author
Sergey M․
<dstftw@gmail.com>
Sat, 21 Nov 2015 18:49:58 +0000
(
00:49
+0600)
committer
Sergey M․
<dstftw@gmail.com>
Sat, 21 Nov 2015 18:49:58 +0000
(
00:49
+0600)
youtube_dl/extractor/soundcloud.py
patch
|
blob
|
history
diff --git
a/youtube_dl/extractor/soundcloud.py
b/youtube_dl/extractor/soundcloud.py
index 9b252c4448bd3c896326c471d2bf2f9e96477340..02e64e09436a5299c5d4f87f1a3ba871c63af230 100644
(file)
--- a/
youtube_dl/extractor/soundcloud.py
+++ b/
youtube_dl/extractor/soundcloud.py
@@
-493,7
+493,7
@@
class SoundcloudSearchIE(SearchInfoExtractor, SoundcloudIE):
_API_V2_BASE = 'https://api-v2.soundcloud.com'
def _get_collection(self, endpoint, collection_id, **query):
- limit =
results_per_page =
min(
+ limit = min(
query.get('limit', self._DEFAULT_RESULTS_PER_PAGE),
self._MAX_RESULTS_PER_PAGE)
query['limit'] = limit