[ie/mlbtv] Fix extractor (#10515)
[yt-dlp3.git] / devscripts / make_supportedsites.py
blob01548ef97a838a463462eb138f5983d544f41ea4
1 #!/usr/bin/env python3
3 # Allow direct execution
4 import os
5 import sys
7 sys.path.insert(0, os.path.dirname(os.path.dirname(os.path.abspath(__file__))))
10 from devscripts.utils import get_filename_args, write_file
11 from yt_dlp.extractor import list_extractor_classes
14 def main():
15 out = '\n'.join(ie.description() for ie in list_extractor_classes() if ie.IE_DESC is not False)
16 write_file(get_filename_args(), f'# Supported sites\n{out}\n')
19 if __name__ == '__main__':
20 main()