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