[fancode] Add extractor (#316,#354)
Closes #269, #363 Authored by: rmsmachine
This commit is contained in:
parent
a3ed14cbaf
commit
b0089e8992
3 changed files with 93 additions and 1 deletions
|
|
@ -3530,7 +3530,7 @@ class InfoExtractor(object):
|
|||
return compat_urllib_parse_unquote(os.path.splitext(url_basename(url))[0])
|
||||
|
||||
@staticmethod
|
||||
def _availability(is_private, needs_premium, needs_subscription, needs_auth, is_unlisted):
|
||||
def _availability(is_private=None, needs_premium=None, needs_subscription=None, needs_auth=None, is_unlisted=None):
|
||||
all_known = all(map(
|
||||
lambda x: x is not None,
|
||||
(is_private, needs_premium, needs_subscription, needs_auth, is_unlisted)))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue