]> git.bitcoin.ninja Git - youtube-dl/commit
Add experimental support for lazy loading the info extractors
authorJaime Marquínez Ferrándiz <jaime.marquinez.ferrandiz@gmail.com>
Wed, 10 Feb 2016 13:01:31 +0000 (14:01 +0100)
committerJaime Marquínez Ferrándiz <jaime.marquinez.ferrandiz@gmail.com>
Fri, 8 Apr 2016 19:50:07 +0000 (21:50 +0200)
commit779822d945dc7ebba7062ac9a5e760d21a7f362a
tree67249610d26b853a462467c2f46ac3117a350d15
parent1b3d5e05a824f880f1171eb840235e13cd8848dc
Add experimental support for lazy loading the info extractors

'make lazy-extractors' creates the youtube_dl/extractor/lazy_extractors.py (imported by youtube_dl/extractor/__init__.py), which contains simplified classes that only have the 'suitable' class method and that load the appropiate class with the '__new__' method when a instance is created.
.gitignore
Makefile
devscripts/lazy_load_template.py [new file with mode: 0644]
devscripts/make_lazy_extractors.py [new file with mode: 0644]
youtube_dl/extractor/__init__.py