[soundcloud/generic] Add support for playlists
This commit is contained in:
parent
b48f147d5a
commit
2099125333
5 changed files with 86 additions and 32 deletions
|
@ -548,6 +548,13 @@ class InfoExtractor(object):
|
|||
)
|
||||
formats.sort(key=_formats_key)
|
||||
|
||||
def http_scheme(self):
|
||||
""" Either "https:" or "https:", depending on the user's preferences """
|
||||
return (
|
||||
'http:'
|
||||
if self._downloader.params.get('prefer_insecure', False)
|
||||
else 'https:')
|
||||
|
||||
|
||||
class SearchInfoExtractor(InfoExtractor):
|
||||
"""
|
||||
|
@ -591,3 +598,4 @@ class SearchInfoExtractor(InfoExtractor):
|
|||
@property
|
||||
def SEARCH_KEY(self):
|
||||
return self._SEARCH_KEY
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue