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