still know Python?
This commit is contained in:
parent
1452a3a959
commit
aec82b2b22
@ -14,7 +14,8 @@ IEs = [
|
|||||||
IE_list = []
|
IE_list = []
|
||||||
IE_dict = {}
|
IE_dict = {}
|
||||||
for module, IE_names in IEs:
|
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:
|
for IE_name in IE_names:
|
||||||
IE = getattr(_mod, IE_name)
|
IE = getattr(_mod, IE_name)
|
||||||
IE_list.append(IE)
|
IE_list.append(IE)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user