mirror of
https://github.com/l1ving/youtube-dl
synced 2024-11-25 18:03:01 +08:00
169d836feb
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. |
||
---|---|---|
.. | ||
gh-pages | ||
bash-completion.in | ||
bash-completion.py | ||
buildserver.py | ||
check-porn.py | ||
create-github-release.py | ||
fish-completion.in | ||
fish-completion.py | ||
generate_aes_testdata.py | ||
install_srelay.sh | ||
lazy_load_template.py | ||
make_contributing.py | ||
make_issue_template.py | ||
make_lazy_extractors.py | ||
make_readme.py | ||
make_supportedsites.py | ||
posix-locale.sh | ||
prepare_manpage.py | ||
release.sh | ||
SizeOfImage_w.patch | ||
SizeOfImage.patch | ||
wine-py2exe.sh | ||
zsh-completion.in | ||
zsh-completion.py |