aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSergey M․ <dstftw@gmail.com>2015-11-22 00:49:58 +0600
committerSergey M․ <dstftw@gmail.com>2015-11-22 00:49:58 +0600
commita3372437bfe57f5b450bfdd60105bb6120595928 (patch)
tree78432736ca2d67ed057da19b680f6cc0de608b6c
parent4c57b4853d8c1b41d729314e316cc1b83129ea18 (diff)
[soundcloud] Remove unused variable
-rw-r--r--youtube_dl/extractor/soundcloud.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/youtube_dl/extractor/soundcloud.py b/youtube_dl/extractor/soundcloud.py
index 9b252c444..02e64e094 100644
--- 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