0
0
Fork 0
mirror of https://github.com/yt-dlp/yt-dlp.git synced 2024-11-23 02:25:11 +00:00
yt-dlp/devscripts
Jaime Marquínez Ferrándiz 169d836feb lazy-extractors: Fix after commit 6e6b9f600f
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.
2016-06-22 19:20:50 +02:00
..
gh-pages Fix typos 2016-01-10 17:24:28 +01:00
bash-completion.in [bash-completion] Complete filename if —load-info is given 2014-01-05 11:28:01 +01:00
bash-completion.py Use insert for all sys.path manipulations 2015-09-26 22:04:41 +02:00
buildserver.py [devscripts/buildserver] Use compat_input from compat 2016-06-05 00:44:51 +07:00
check-porn.py Don't use bare 'except:' 2015-03-27 13:02:20 +01:00
create-github-release.py [devscripts/create-github-release] Make full published releases by default 2016-06-06 03:02:11 +07:00
fish-completion.in Add a completion script generator for the fish shell 2014-09-14 14:07:33 +02:00
fish-completion.py Use insert for all sys.path manipulations 2015-09-26 22:04:41 +02:00
generate_aes_testdata.py [test/aes] Test aes_decrypt_text with 256 bit 2015-03-22 12:09:58 +01:00
install_srelay.sh [test/test_socks] Test with local SOCKS servers 2016-05-10 14:51:38 +08:00
lazy_load_template.py lazy extractors: Initialize the real info extractor 2016-04-08 21:50:54 +02:00
make_contributing.py [devscripts/make_contributing] Switch to optparse (Fixes #4483) 2014-12-16 00:24:11 +01:00
make_issue_template.py [devscripts/make_issue_template] Fix __version__ again 2016-03-29 03:05:15 +06:00
make_lazy_extractors.py lazy-extractors: Fix after commit 6e6b9f600f 2016-06-22 19:20:50 +02:00
make_readme.py [test_unicode_literals] Arm unicode_literals check 2014-11-26 20:01:22 +01:00
make_supportedsites.py Use insert for all sys.path manipulations 2015-09-26 22:04:41 +02:00
posix-locale.sh moved make release to devscripts/release.sh 2012-09-25 23:56:01 +02:00
prepare_manpage.py [devscripts/prepare_manpage] Fix manpage generation on Windows 2016-05-29 09:06:10 +06:00
release.sh [devscripts/release.sh] Add flag for gpg-sign commits 2016-06-14 03:16:56 +07:00
SizeOfImage.patch wine-py2exe.sh to create the exe under linux (!!) 2012-04-07 20:07:42 +02:00
SizeOfImage_w.patch wine-py2exe.sh to create the exe under linux (!!) 2012-04-07 20:07:42 +02:00
wine-py2exe.sh moved make release to devscripts/release.sh 2012-09-25 23:56:01 +02:00
zsh-completion.in support zsh completion 2014-10-07 13:19:59 +08:00
zsh-completion.py Use insert for all sys.path manipulations 2015-09-26 22:04:41 +02:00