diff options
author | Jaime Marquínez Ferrándiz <jaime.marquinez.ferrandiz@gmail.com> | 2013-07-08 15:14:27 +0200 |
---|---|---|
committer | Jaime Marquínez Ferrándiz <jaime.marquinez.ferrandiz@gmail.com> | 2013-07-08 15:14:27 +0200 |
commit | 56c7366547462ecec0536df58971249a8a870ddd (patch) | |
tree | dd5236a98063198508389a738d3a2fa59a15e7c3 /youtube_dl/extractor/cspan.py | |
parent | 81f0259b9e4321b612c90709a043ff90d2b0a774 (diff) |
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.
Diffstat (limited to 'youtube_dl/extractor/cspan.py')
0 files changed, 0 insertions, 0 deletions