[parliamentliveuk] Add extractor
[youtube-dl] / youtube_dl / extractor / __init__.py
1 from .academicearth import AcademicEarthCourseIE
2 from .addanime import AddAnimeIE
3 from .aftonbladet import AftonbladetIE
4 from .anitube import AnitubeIE
5 from .aparat import AparatIE
6 from .appletrailers import AppleTrailersIE
7 from .archiveorg import ArchiveOrgIE
8 from .ard import ARDIE
9 from .arte import (
10     ArteTvIE,
11     ArteTVPlus7IE,
12     ArteTVCreativeIE,
13     ArteTVConcertIE,
14     ArteTVFutureIE,
15     ArteTVDDCIE,
16 )
17 from .auengine import AUEngineIE
18 from .bambuser import BambuserIE, BambuserChannelIE
19 from .bandcamp import BandcampIE, BandcampAlbumIE
20 from .bbccouk import BBCCoUkIE
21 from .blinkx import BlinkxIE
22 from .bliptv import BlipTVIE, BlipTVUserIE
23 from .bloomberg import BloombergIE
24 from .br import BRIE
25 from .breakcom import BreakIE
26 from .brightcove import BrightcoveIE
27 from .c56 import C56IE
28 from .canal13cl import Canal13clIE
29 from .canalplus import CanalplusIE
30 from .canalc2 import Canalc2IE
31 from .cbs import CBSIE
32 from .ceskatelevize import CeskaTelevizeIE
33 from .channel9 import Channel9IE
34 from .chilloutzone import ChilloutzoneIE
35 from .cinemassacre import CinemassacreIE
36 from .clipfish import ClipfishIE
37 from .cliphunter import CliphunterIE
38 from .clipsyndicate import ClipsyndicateIE
39 from .cmt import CMTIE
40 from .cnn import (
41     CNNIE,
42     CNNBlogsIE,
43 )
44 from .collegehumor import CollegeHumorIE
45 from .comedycentral import ComedyCentralIE, ComedyCentralShowsIE
46 from .condenast import CondeNastIE
47 from .criterion import CriterionIE
48 from .crunchyroll import CrunchyrollIE
49 from .cspan import CSpanIE
50 from .d8 import D8IE
51 from .dailymotion import (
52     DailymotionIE,
53     DailymotionPlaylistIE,
54     DailymotionUserIE,
55 )
56 from .daum import DaumIE
57 from .dotsub import DotsubIE
58 from .dreisat import DreiSatIE
59 from .defense import DefenseGouvFrIE
60 from .discovery import DiscoveryIE
61 from .dropbox import DropboxIE
62 from .ebaumsworld import EbaumsWorldIE
63 from .ehow import EHowIE
64 from .eighttracks import EightTracksIE
65 from .eitb import EitbIE
66 from .elpais import ElPaisIE
67 from .escapist import EscapistIE
68 from .everyonesmixtape import EveryonesMixtapeIE
69 from .exfm import ExfmIE
70 from .extremetube import ExtremeTubeIE
71 from .facebook import FacebookIE
72 from .faz import FazIE
73 from .firstpost import FirstpostIE
74 from .firsttv import FirstTVIE
75 from .fktv import (
76     FKTVIE,
77     FKTVPosteckeIE,
78 )
79 from .flickr import FlickrIE
80 from .fourtube import FourTubeIE
81 from .franceinter import FranceInterIE
82 from .francetv import (
83     PluzzIE,
84     FranceTvInfoIE,
85     FranceTVIE,
86     GenerationQuoiIE,
87     CultureboxIE,
88 )
89 from .freesound import FreesoundIE
90 from .freespeech import FreespeechIE
91 from .funnyordie import FunnyOrDieIE
92 from .gamekings import GamekingsIE
93 from .gamespot import GameSpotIE
94 from .gametrailers import GametrailersIE
95 from .gdcvault import GDCVaultIE
96 from .generic import GenericIE
97 from .googleplus import GooglePlusIE
98 from .googlesearch import GoogleSearchIE
99 from .hark import HarkIE
100 from .helsinki import HelsinkiIE
101 from .hotnewhiphop import HotNewHipHopIE
102 from .howcast import HowcastIE
103 from .huffpost import HuffPostIE
104 from .hypem import HypemIE
105 from .ign import IGNIE, OneUPIE
106 from .imdb import (
107     ImdbIE,
108     ImdbListIE
109 )
110 from .ina import InaIE
111 from .infoq import InfoQIE
112 from .instagram import InstagramIE
113 from .internetvideoarchive import InternetVideoArchiveIE
114 from .iprima import IPrimaIE
115 from .ivi import (
116     IviIE,
117     IviCompilationIE
118 )
119 from .jadorecettepub import JadoreCettePubIE
120 from .jeuxvideo import JeuxVideoIE
121 from .jukebox import JukeboxIE
122 from .justintv import JustinTVIE
123 from .jpopsukitv import JpopsukiIE
124 from .kankan import KankanIE
125 from .keezmovies import KeezMoviesIE
126 from .khanacademy import KhanAcademyIE
127 from .kickstarter import KickStarterIE
128 from .keek import KeekIE
129 from .kontrtube import KontrTubeIE
130 from .la7 import LA7IE
131 from .lifenews import LifeNewsIE
132 from .liveleak import LiveLeakIE
133 from .livestream import LivestreamIE, LivestreamOriginalIE
134 from .lynda import (
135     LyndaIE,
136     LyndaCourseIE
137 )
138 from .m6 import M6IE
139 from .macgamestore import MacGameStoreIE
140 from .mailru import MailRuIE
141 from .malemotion import MalemotionIE
142 from .mdr import MDRIE
143 from .metacafe import MetacafeIE
144 from .metacritic import MetacriticIE
145 from .mit import TechTVMITIE, MITIE, OCWMITIE
146 from .mixcloud import MixcloudIE
147 from .mpora import MporaIE
148 from .mofosex import MofosexIE
149 from .mooshare import MooshareIE
150 from .mtv import (
151     MTVIE,
152     MTVIggyIE,
153 )
154 from .muzu import MuzuTVIE
155 from .myspace import MySpaceIE
156 from .myspass import MySpassIE
157 from .myvideo import MyVideoIE
158 from .naver import NaverIE
159 from .nba import NBAIE
160 from .nbc import (
161     NBCIE,
162     NBCNewsIE,
163 )
164 from .ndr import NDRIE
165 from .ndtv import NDTVIE
166 from .newgrounds import NewgroundsIE
167 from .nfb import NFBIE
168 from .nhl import NHLIE, NHLVideocenterIE
169 from .niconico import NiconicoIE
170 from .ninegag import NineGagIE
171 from .normalboots import NormalbootsIE
172 from .novamov import NovaMovIE
173 from .nowness import NownessIE
174 from .nowvideo import NowVideoIE
175 from .ooyala import OoyalaIE
176 from .orf import ORFIE
177 from .parliamentliveuk import ParliamentLiveUKIE
178 from .pbs import PBSIE
179 from .photobucket import PhotobucketIE
180 from .playvid import PlayvidIE
181 from .podomatic import PodomaticIE
182 from .pornhd import PornHdIE
183 from .pornhub import PornHubIE
184 from .pornotube import PornotubeIE
185 from .prosiebensat1 import ProSiebenSat1IE
186 from .pyvideo import PyvideoIE
187 from .radiofrance import RadioFranceIE
188 from .rbmaradio import RBMARadioIE
189 from .redtube import RedTubeIE
190 from .ringtv import RingTVIE
191 from .ro220 import Ro220IE
192 from .rottentomatoes import RottenTomatoesIE
193 from .roxwel import RoxwelIE
194 from .rtlnow import RTLnowIE
195 from .rutube import (
196     RutubeIE,
197     RutubeChannelIE,
198     RutubeMovieIE,
199     RutubePersonIE,
200 )
201 from .rutv import RUTVIE
202 from .savefrom import SaveFromIE
203 from .servingsys import ServingSysIE
204 from .sina import SinaIE
205 from .slashdot import SlashdotIE
206 from .slideshare import SlideshareIE
207 from .smotri import (
208     SmotriIE,
209     SmotriCommunityIE,
210     SmotriUserIE,
211     SmotriBroadcastIE,
212 )
213 from .sohu import SohuIE
214 from .soundcloud import SoundcloudIE, SoundcloudSetIE, SoundcloudUserIE
215 from .southparkstudios import (
216     SouthParkStudiosIE,
217     SouthparkDeIE,
218 )
219 from .space import SpaceIE
220 from .spankwire import SpankwireIE
221 from .spiegel import SpiegelIE
222 from .spike import SpikeIE
223 from .stanfordoc import StanfordOpenClassroomIE
224 from .statigram import StatigramIE
225 from .steam import SteamIE
226 from .streamcloud import StreamcloudIE
227 from .streamcz import StreamCZIE
228 from .syfy import SyfyIE
229 from .sztvhu import SztvHuIE
230 from .teamcoco import TeamcocoIE
231 from .techtalks import TechTalksIE
232 from .ted import TEDIE
233 from .testurl import TestURLIE
234 from .tf1 import TF1IE
235 from .theplatform import ThePlatformIE
236 from .thisav import ThisAVIE
237 from .tinypic import TinyPicIE
238 from .toutv import TouTvIE
239 from .traileraddict import TrailerAddictIE
240 from .trilulilu import TriluliluIE
241 from .trutube import TruTubeIE
242 from .tube8 import Tube8IE
243 from .tudou import TudouIE
244 from .tumblr import TumblrIE
245 from .tutv import TutvIE
246 from .tvigle import TvigleIE
247 from .tvp import TvpIE
248 from .udemy import (
249     UdemyIE,
250     UdemyCourseIE
251 )
252 from .unistra import UnistraIE
253 from .ustream import UstreamIE, UstreamChannelIE
254 from .vbox7 import Vbox7IE
255 from .veehd import VeeHDIE
256 from .veoh import VeohIE
257 from .vesti import VestiIE
258 from .vevo import VevoIE
259 from .vice import ViceIE
260 from .viddler import ViddlerIE
261 from .videobam import VideoBamIE
262 from .videodetective import VideoDetectiveIE
263 from .videofyme import VideofyMeIE
264 from .videopremium import VideoPremiumIE
265 from .vimeo import (
266     VimeoIE,
267     VimeoChannelIE,
268     VimeoUserIE,
269     VimeoAlbumIE,
270     VimeoGroupsIE,
271     VimeoReviewIE,
272 )
273 from .vine import VineIE
274 from .viki import VikiIE
275 from .vk import VKIE
276 from .vube import VubeIE
277 from .wat import WatIE
278 from .wdr import WDRIE
279 from .weibo import WeiboIE
280 from .wimp import WimpIE
281 from .wistia import WistiaIE
282 from .worldstarhiphop import WorldStarHipHopIE
283 from .xhamster import XHamsterIE
284 from .xnxx import XNXXIE
285 from .xvideos import XVideosIE
286 from .xtube import XTubeIE
287 from .yahoo import (
288     YahooIE,
289     YahooNewsIE,
290     YahooSearchIE,
291 )
292 from .youjizz import YouJizzIE
293 from .youku import YoukuIE
294 from .youporn import YouPornIE
295 from .youtube import (
296     YoutubeIE,
297     YoutubeChannelIE,
298     YoutubeFavouritesIE,
299     YoutubeHistoryIE,
300     YoutubePlaylistIE,
301     YoutubeRecommendedIE,
302     YoutubeSearchDateIE,
303     YoutubeSearchIE,
304     YoutubeSearchURLIE,
305     YoutubeShowIE,
306     YoutubeSubscriptionsIE,
307     YoutubeTopListIE,
308     YoutubeTruncatedURLIE,
309     YoutubeUserIE,
310     YoutubeWatchLaterIE,
311 )
312 from .zdf import ZDFIE
313
314
315 _ALL_CLASSES = [
316     klass
317     for name, klass in globals().items()
318     if name.endswith('IE') and name != 'GenericIE'
319 ]
320 _ALL_CLASSES.append(GenericIE)
321
322
323 def gen_extractors():
324     """ Return a list of an instance of every supported extractor.
325     The order does matter; the first extractor matched is the one handling the URL.
326     """
327     return [klass() for klass in _ALL_CLASSES]
328
329
330 def get_info_extractor(ie_name):
331     """Returns the info extractor class with the given ie_name"""
332     return globals()[ie_name+'IE']