diff options
author | pukkandan <pukkandan.ytdlp@gmail.com> | 2021-10-23 19:59:52 +0530 |
---|---|---|
committer | pukkandan <pukkandan.ytdlp@gmail.com> | 2021-10-23 21:20:19 +0530 |
commit | 96565c7e55bc3d97a1d4232fe974091dd45f5fe9 (patch) | |
tree | 5b6de2b3e755e09848bf3169384bd5854a59f1b7 /devscripts/make_supportedsites.py | |
parent | ec11a9f4a26e8225b195e5f91bd0b72b008d0c3a (diff) | |
download | hypervideo-pre-96565c7e55bc3d97a1d4232fe974091dd45f5fe9.tar.lz hypervideo-pre-96565c7e55bc3d97a1d4232fe974091dd45f5fe9.tar.xz hypervideo-pre-96565c7e55bc3d97a1d4232fe974091dd45f5fe9.zip |
[cleanup] Add keyword automatically to SearchIE descriptions
and some minor cleanup of docs
Diffstat (limited to 'devscripts/make_supportedsites.py')
-rw-r--r-- | devscripts/make_supportedsites.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/devscripts/make_supportedsites.py b/devscripts/make_supportedsites.py index 17a34843f..4c11e25f2 100644 --- a/devscripts/make_supportedsites.py +++ b/devscripts/make_supportedsites.py @@ -29,6 +29,9 @@ def main(): continue if ie_desc is not None: ie_md += ': {0}'.format(ie.IE_DESC) + search_key = getattr(ie, 'SEARCH_KEY', None) + if search_key is not None: + ie_md += f'; "{ie.SEARCH_KEY}:" prefix' if not ie.working(): ie_md += ' (Currently broken)' yield ie_md |