diff options
author | pukkandan <pukkandan.ytdlp@gmail.com> | 2021-10-23 19:59:52 +0530 |
---|---|---|
committer | pukkandan <pukkandan.ytdlp@gmail.com> | 2021-10-23 21:20:19 +0530 |
commit | 96565c7e55bc3d97a1d4232fe974091dd45f5fe9 (patch) | |
tree | 5b6de2b3e755e09848bf3169384bd5854a59f1b7 /yt_dlp/extractor/soundcloud.py | |
parent | ec11a9f4a26e8225b195e5f91bd0b72b008d0c3a (diff) | |
download | hypervideo-pre-96565c7e55bc3d97a1d4232fe974091dd45f5fe9.tar.lz hypervideo-pre-96565c7e55bc3d97a1d4232fe974091dd45f5fe9.tar.xz hypervideo-pre-96565c7e55bc3d97a1d4232fe974091dd45f5fe9.zip |
[cleanup] Add keyword automatically to SearchIE descriptions
and some minor cleanup of docs
Diffstat (limited to 'yt_dlp/extractor/soundcloud.py')
-rw-r--r-- | yt_dlp/extractor/soundcloud.py | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/yt_dlp/extractor/soundcloud.py b/yt_dlp/extractor/soundcloud.py index 412331e17..824528474 100644 --- a/yt_dlp/extractor/soundcloud.py +++ b/yt_dlp/extractor/soundcloud.py @@ -855,8 +855,8 @@ class SoundcloudPlaylistIE(SoundcloudPlaylistBaseIE): class SoundcloudSearchIE(SearchInfoExtractor, SoundcloudIE): IE_NAME = 'soundcloud:search' - IE_DESC = 'Soundcloud search, "scsearch" keyword' - _MAX_RESULTS = float('inf') + IE_DESC = 'Soundcloud search' + _SEARCH_KEY = 'scsearch' _TESTS = [{ 'url': 'scsearch15:post-avant jazzcore', 'info_dict': { @@ -865,7 +865,6 @@ class SoundcloudSearchIE(SearchInfoExtractor, SoundcloudIE): 'playlist_count': 15, }] - _SEARCH_KEY = 'scsearch' _MAX_RESULTS_PER_PAGE = 200 _DEFAULT_RESULTS_PER_PAGE = 50 |