1
0
mirror of https://github.com/ytdl-org/youtube-dl.git synced 2025-02-20 20:21:12 +01:00
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