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