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