aboutsummaryrefslogtreecommitdiffstats
path: root/devscripts/make_lazy_extractors.py
diff options
context:
space:
mode:
authorpukkandan <pukkandan.ytdlp@gmail.com>2021-08-23 05:26:45 +0530
committerpukkandan <pukkandan.ytdlp@gmail.com>2021-08-23 05:31:55 +0530
commit8b7491c8d1ce52af856c224c029b2d577323fe6a (patch)
tree172bbaad994cd09337912c852a6d07f4cf5319c5 /devscripts/make_lazy_extractors.py
parent251ae04e6a057167e4eafaf8b7b565a984b48405 (diff)
downloadhypervideo-pre-8b7491c8d1ce52af856c224c029b2d577323fe6a.tar.lz
hypervideo-pre-8b7491c8d1ce52af856c224c029b2d577323fe6a.tar.xz
hypervideo-pre-8b7491c8d1ce52af856c224c029b2d577323fe6a.zip
Fix `add_info_extractor` when used via API
Bug from: 251ae04e6a057167e4eafaf8b7b565a984b48405
Diffstat (limited to 'devscripts/make_lazy_extractors.py')
-rw-r--r--devscripts/make_lazy_extractors.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/devscripts/make_lazy_extractors.py b/devscripts/make_lazy_extractors.py
index d313e68a9..e7b024490 100644
--- a/devscripts/make_lazy_extractors.py
+++ b/devscripts/make_lazy_extractors.py
@@ -66,7 +66,7 @@ def build_lazy_ie(ie, name):
if valid_url:
s += f' _VALID_URL = {valid_url!r}\n'
if not ie._WORKING:
- s += f' _WORKING = False\n'
+ s += ' _WORKING = False\n'
if ie.suitable.__func__ is not InfoExtractor.suitable.__func__:
s += f'\n{getsource(ie.suitable)}'
if hasattr(ie, '_make_valid_url'):