lazy-extractors: Fix after commit 6e6b9f600f2f447604f6108fb6486b73cc25def1
authorJaime Marquínez Ferrándiz <jaime.marquinez.ferrandiz@gmail.com>
Wed, 22 Jun 2016 17:13:46 +0000 (19:13 +0200)
committerJaime Marquínez Ferrándiz <jaime.marquinez.ferrandiz@gmail.com>
Wed, 22 Jun 2016 17:20:50 +0000 (19:20 +0200)
commit169d836feb9d796205a02713db33eafcbb49f1e6
treea6ea8c40ca19997e9295b766103ba47cbdcf6a73
parent6ae938b295eaca06944f66faa7c6d668c6c5866c
lazy-extractors: Fix after commit 6e6b9f600f2f447604f6108fb6486b73cc25def1

The problem was in the following code:

    class ArteTVPlus7IE(ArteTVBaseIE):

        ...

        @classmethod
        def suitable(cls, url):
            return False if ArteTVPlaylistIE.suitable(url) else super(ArteTVPlus7IE, cls).suitable(url)

And its sublcasses like ArteTVCinemaIE.

Since in the lazy_extractors.py file ArteTVCinemaIE was not a subclass of ArteTVPlus7IE, super(ArteTVPlus7IE, cls) failed.

To fix it we have to make it a subclass. Since the order of _ALL_CLASSES is arbitrary we must sort them so that the base classes are defined first. We also must add base classes like YoutubeBaseInfoExtractor.
devscripts/make_lazy_extractors.py