1
0
mirror of https://gitlab.com/ytdl-org/youtube-dl.git synced 2026-01-04 00:01:07 -05:00
Files
youtube-dl/youtube_dl
Jaime Marquínez Ferrándiz 56c7366547 YoutubeIE: reuse instances of InfoExtractors (closes #998)
When a IE is added to the list, it's also added to a dictionary. When a IE is requested it first looks in the dictionary and if there's no instance it will create a new one.

That way _real_initialize is only called once for each IE, saving time if it needs to login for example.
2013-07-08 15:14:27 +02:00
..
2013-06-23 20:35:50 +02:00
2013-07-08 01:13:55 +02:00
2013-07-08 02:05:22 +02:00