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