From b0089e8992992d712d0d23aac167e7d86f5c26e8 Mon Sep 17 00:00:00 2001 From: pukkandan Date: Sun, 30 May 2021 19:29:00 +0530 Subject: [fancode] Add extractor (#316,#354) Closes #269, #363 Authored by: rmsmachine --- yt_dlp/extractor/common.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'yt_dlp/extractor/common.py') diff --git a/yt_dlp/extractor/common.py b/yt_dlp/extractor/common.py index f3794cdcb..2e4f3559a 100644 --- a/yt_dlp/extractor/common.py +++ b/yt_dlp/extractor/common.py @@ -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))) -- cgit v1.2.3