[glide] Simplify
This commit is contained in:
parent
964ae0a122
commit
1ede5b2481
2 changed files with 14 additions and 7 deletions
|
@ -618,7 +618,7 @@ class InfoExtractor(object):
|
|||
formats.sort(key=_formats_key)
|
||||
|
||||
def http_scheme(self):
|
||||
""" Either "https:" or "https:", depending on the user's preferences """
|
||||
""" Either "http:" or "https:", depending on the user's preferences """
|
||||
return (
|
||||
'http:'
|
||||
if self._downloader.params.get('prefer_insecure', False)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue