diff options
author | Jaime Marquínez Ferrándiz <jaime.marquinez.ferrandiz@gmail.com> | 2016-06-22 19:13:46 +0200 |
---|---|---|
committer | Jaime Marquínez Ferrándiz <jaime.marquinez.ferrandiz@gmail.com> | 2016-06-22 19:20:50 +0200 |
commit | 169d836feb9d796205a02713db33eafcbb49f1e6 (patch) | |
tree | a6ea8c40ca19997e9295b766103ba47cbdcf6a73 /youtube_dl/extractor/shahid.py | |
parent | 6ae938b295eaca06944f66faa7c6d668c6c5866c (diff) |
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.
Diffstat (limited to 'youtube_dl/extractor/shahid.py')
0 files changed, 0 insertions, 0 deletions