Add support for anitube.se (#1417)
[youtube-dl] / youtube_dl / extractor / __init__.py
1 from .appletrailers import AppleTrailersIE
2 from .addanime import AddAnimeIE
3 from .anitube import AnitubeIE
4 from .archiveorg import ArchiveOrgIE
5 from .ard import ARDIE
6 from .arte import (
7     ArteTvIE,
8     ArteTVPlus7IE,
9     ArteTVCreativeIE,
10     ArteTVFutureIE,
11 )
12 from .auengine import AUEngineIE
13 from .bambuser import BambuserIE, BambuserChannelIE
14 from .bandcamp import BandcampIE
15 from .bliptv import BlipTVIE, BlipTVUserIE
16 from .bloomberg import BloombergIE
17 from .breakcom import BreakIE
18 from .brightcove import BrightcoveIE
19 from .c56 import C56IE
20 from .canalplus import CanalplusIE
21 from .canalc2 import Canalc2IE
22 from .cinemassacre import CinemassacreIE
23 from .cnn import CNNIE
24 from .collegehumor import CollegeHumorIE
25 from .comedycentral import ComedyCentralIE
26 from .condenast import CondeNastIE
27 from .criterion import CriterionIE
28 from .cspan import CSpanIE
29 from .dailymotion import (
30     DailymotionIE,
31     DailymotionPlaylistIE,
32     DailymotionUserIE,
33 )
34 from .daum import DaumIE
35 from .depositfiles import DepositFilesIE
36 from .dotsub import DotsubIE
37 from .dreisat import DreiSatIE
38 from .defense import DefenseGouvFrIE
39 from .ebaumsworld import EbaumsWorldIE
40 from .ehow import EHowIE
41 from .eighttracks import EightTracksIE
42 from .eitb import EitbIE
43 from .escapist import EscapistIE
44 from .exfm import ExfmIE
45 from .extremetube import ExtremeTubeIE
46 from .facebook import FacebookIE
47 from .faz import FazIE
48 from .fktv import (
49     FKTVIE,
50     FKTVPosteckeIE,
51 )
52 from .flickr import FlickrIE
53 from .francetv import (
54     PluzzIE,
55     FranceTvInfoIE,
56     France2IE,
57     GenerationQuoiIE
58 )
59 from .freesound import FreesoundIE
60 from .funnyordie import FunnyOrDieIE
61 from .gamekings import GamekingsIE
62 from .gamespot import GameSpotIE
63 from .gametrailers import GametrailersIE
64 from .generic import GenericIE
65 from .googleplus import GooglePlusIE
66 from .googlesearch import GoogleSearchIE
67 from .hark import HarkIE
68 from .hotnewhiphop import HotNewHipHopIE
69 from .howcast import HowcastIE
70 from .hypem import HypemIE
71 from .ign import IGNIE, OneUPIE
72 from .ina import InaIE
73 from .infoq import InfoQIE
74 from .instagram import InstagramIE
75 from .internetvideoarchive import InternetVideoArchiveIE
76 from .jeuxvideo import JeuxVideoIE
77 from .jukebox import JukeboxIE
78 from .justintv import JustinTVIE
79 from .kankan import KankanIE
80 from .keezmovies import KeezMoviesIE
81 from .kickstarter import KickStarterIE
82 from .keek import KeekIE
83 from .liveleak import LiveLeakIE
84 from .livestream import LivestreamIE, LivestreamOriginalIE
85 from .metacafe import MetacafeIE
86 from .metacritic import MetacriticIE
87 from .mit import TechTVMITIE, MITIE
88 from .mixcloud import MixcloudIE
89 from .mofosex import MofosexIE
90 from .mtv import MTVIE
91 from .muzu import MuzuTVIE
92 from .myspace import MySpaceIE
93 from .myspass import MySpassIE
94 from .myvideo import MyVideoIE
95 from .naver import NaverIE
96 from .nba import NBAIE
97 from .nbc import NBCNewsIE
98 from .newgrounds import NewgroundsIE
99 from .nhl import NHLIE, NHLVideocenterIE
100 from .nowvideo import NowVideoIE
101 from .ooyala import OoyalaIE
102 from .orf import ORFIE
103 from .pbs import PBSIE
104 from .photobucket import PhotobucketIE
105 from .pornhub import PornHubIE
106 from .pornotube import PornotubeIE
107 from .rbmaradio import RBMARadioIE
108 from .redtube import RedTubeIE
109 from .ringtv import RingTVIE
110 from .ro220 import Ro220IE
111 from .rottentomatoes import RottenTomatoesIE
112 from .roxwel import RoxwelIE
113 from .rtlnow import RTLnowIE
114 from .rutube import RutubeIE
115 from .sina import SinaIE
116 from .slashdot import SlashdotIE
117 from .slideshare import SlideshareIE
118 from .sohu import SohuIE
119 from .soundcloud import SoundcloudIE, SoundcloudSetIE, SoundcloudUserIE
120 from .southparkstudios import SouthParkStudiosIE
121 from .space import SpaceIE
122 from .spankwire import SpankwireIE
123 from .spiegel import SpiegelIE
124 from .stanfordoc import StanfordOpenClassroomIE
125 from .statigram import StatigramIE
126 from .steam import SteamIE
127 from .sztvhu import SztvHuIE
128 from .teamcoco import TeamcocoIE
129 from .techtalks import TechTalksIE
130 from .ted import TEDIE
131 from .tf1 import TF1IE
132 from .thisav import ThisAVIE
133 from .traileraddict import TrailerAddictIE
134 from .trilulilu import TriluliluIE
135 from .tube8 import Tube8IE
136 from .tudou import TudouIE
137 from .tumblr import TumblrIE
138 from .tutv import TutvIE
139 from .tvp import TvpIE
140 from .unistra import UnistraIE
141 from .ustream import UstreamIE, UstreamChannelIE
142 from .vbox7 import Vbox7IE
143 from .veehd import VeeHDIE
144 from .veoh import VeohIE
145 from .vevo import VevoIE
146 from .vice import ViceIE
147 from .viddler import ViddlerIE
148 from .videodetective import VideoDetectiveIE
149 from .videofyme import VideofyMeIE
150 from .videopremium import VideoPremiumIE
151 from .vimeo import VimeoIE, VimeoChannelIE
152 from .vine import VineIE
153 from .vk import VKIE
154 from .wat import WatIE
155 from .websurg import WeBSurgIE
156 from .weibo import WeiboIE
157 from .wimp import WimpIE
158 from .worldstarhiphop import WorldStarHipHopIE
159 from .xhamster import XHamsterIE
160 from .xnxx import XNXXIE
161 from .xvideos import XVideosIE
162 from .xtube import XTubeIE
163 from .yahoo import YahooIE, YahooSearchIE
164 from .youjizz import YouJizzIE
165 from .youku import YoukuIE
166 from .youporn import YouPornIE
167 from .youtube import (
168     YoutubeIE,
169     YoutubePlaylistIE,
170     YoutubeSearchIE,
171     YoutubeSearchDateIE,
172     YoutubeUserIE,
173     YoutubeChannelIE,
174     YoutubeShowIE,
175     YoutubeSubscriptionsIE,
176     YoutubeRecommendedIE,
177     YoutubeTruncatedURLIE,
178     YoutubeWatchLaterIE,
179     YoutubeFavouritesIE,
180 )
181 from .zdf import ZDFIE
182
183
184 _ALL_CLASSES = [
185     klass
186     for name, klass in globals().items()
187     if name.endswith('IE') and name != 'GenericIE'
188 ]
189 _ALL_CLASSES.append(GenericIE)
190
191
192 def gen_extractors():
193     """ Return a list of an instance of every supported extractor.
194     The order does matter; the first extractor matched is the one handling the URL.
195     """
196     return [klass() for klass in _ALL_CLASSES]
197
198
199 def get_info_extractor(ie_name):
200     """Returns the info extractor class with the given ie_name"""
201     return globals()[ie_name+'IE']