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