From ecab7b56f37a7d1b3837bcd238a48264177f4d10 Mon Sep 17 00:00:00 2001 From: wesson Date: Wed, 4 Dec 2024 22:41:22 +0100 Subject: [PATCH] make autopep8 happy --- yt_dlp/__init__.py | 2 +- yt_dlp/extractor/common.py | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/yt_dlp/__init__.py b/yt_dlp/__init__.py index 87f6faea39..b741d429a0 100644 --- a/yt_dlp/__init__.py +++ b/yt_dlp/__init__.py @@ -142,7 +142,7 @@ def print_extractor_information(opts, urls): 'return_type': ie.return_type(), 'regex_urls': ie.list_regex_url(), 'matched_urls': matched_urls, - } + } e_index += 1 dicts.append(data) else: diff --git a/yt_dlp/extractor/common.py b/yt_dlp/extractor/common.py index 85597fe8c6..ca99c75760 100644 --- a/yt_dlp/extractor/common.py +++ b/yt_dlp/extractor/common.py @@ -611,7 +611,6 @@ class InfoExtractor: # so that lazy_extractors works correctly return cls._match_valid_url(url) is not None - @classmethod def list_regex_url(cls): return cls._VALID_URL if type(cls._VALID_URL) in [list, tuple] \