1
0
mirror of https://github.com/l1ving/youtube-dl synced 2026-05-20 03:29:55 +08:00
Commit Graph

3 Commits

  • lazy extractors: Style fixes
    * Sort extractors alphabetically
    * Add newlines when needed (youtube_dl/extractors/lazy_extractors.py pass the flake8 test now)
  • lazy extractors: specify the encoding
    When building with python3 the unicode characters are not escaped, python2 needs to know the encoding.
  • 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.