1
0
mirror of https://github.com/yt-dlp/yt-dlp synced 2025-07-01 19:42:52 -05:00

[cleanup,build] Cleanup some build-related code

Fixes an issue in 7ab56be2c7
This commit is contained in:
pukkandan
2022-04-27 13:45:45 +05:30
parent 4f80952353
commit c171445431
8 changed files with 61 additions and 39 deletions

View File

@ -21,7 +21,7 @@ from yt_dlp.extractor.common import InfoExtractor, SearchInfoExtractor
if os.path.exists(plugins_blocked_dirname):
os.rename(plugins_blocked_dirname, plugins_dirname)
with open('devscripts/lazy_load_template.py') as f:
with open('devscripts/lazy_load_template.py', encoding='utf-8') as f:
module_template = f.read()
CLASS_PROPERTIES = ['ie_key', 'working', '_match_valid_url', 'suitable', '_match_id', 'get_temp_id']