mirror of
https://github.com/l1ving/youtube-dl
synced 2026-06-08 11:34:41 +08:00
still know Python?
This commit is contained in:
@@ -14,7 +14,8 @@ IEs = [
|
||||
IE_list = []
|
||||
IE_dict = {}
|
||||
for module, IE_names in IEs:
|
||||
_mod = __import__('youtube_dl.InfoExtractors.' + module, globals(), IE_names)
|
||||
_mod = __import__('youtube_dl.InfoExtractors.' + module,
|
||||
globals(), fromlist=IE_names)
|
||||
for IE_name in IE_names:
|
||||
IE = getattr(_mod, IE_name)
|
||||
IE_list.append(IE)
|
||||
|
||||
Reference in New Issue
Block a user