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