[aparat] Add support (Fixes #2012)
[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 .jeuxvideo import JeuxVideoIE
87 from .jukebox import JukeboxIE
88 from .justintv import JustinTVIE
89 from .kankan import KankanIE
90 from .keezmovies import KeezMoviesIE
91 from .kickstarter import KickStarterIE
92 from .keek import KeekIE
93 from .liveleak import LiveLeakIE
94 from .livestream import LivestreamIE, LivestreamOriginalIE
95 from .mdr import MDRIE
96 from .metacafe import MetacafeIE
97 from .metacritic import MetacriticIE
98 from .mit import TechTVMITIE, MITIE
99 from .mixcloud import MixcloudIE
100 from .mofosex import MofosexIE
101 from .mtv import MTVIE
102 from .muzu import MuzuTVIE
103 from .myspace import MySpaceIE
104 from .myspass import MySpassIE
105 from .myvideo import MyVideoIE
106 from .naver import NaverIE
107 from .nba import NBAIE
108 from .nbc import NBCNewsIE
109 from .ndtv import NDTVIE
110 from .newgrounds import NewgroundsIE
111 from .nhl import NHLIE, NHLVideocenterIE
112 from .niconico import NiconicoIE
113 from .ninegag import NineGagIE
114 from .nowvideo import NowVideoIE
115 from .ooyala import OoyalaIE
116 from .orf import ORFIE
117 from .pbs import PBSIE
118 from .photobucket import PhotobucketIE
119 from .podomatic import PodomaticIE
120 from .pornhd import PornHdIE
121 from .pornhub import PornHubIE
122 from .pornotube import PornotubeIE
123 from .pyvideo import PyvideoIE
124 from .radiofrance import RadioFranceIE
125 from .rbmaradio import RBMARadioIE
126 from .redtube import RedTubeIE
127 from .ringtv import RingTVIE
128 from .ro220 import Ro220IE
129 from .rottentomatoes import RottenTomatoesIE
130 from .roxwel import RoxwelIE
131 from .rtlnow import RTLnowIE
132 from .rutube import RutubeIE
133 from .sina import SinaIE
134 from .slashdot import SlashdotIE
135 from .slideshare import SlideshareIE
136 from .smotri import (
137     SmotriIE,
138     SmotriCommunityIE,
139     SmotriUserIE,
140     SmotriBroadcastIE,
141 )
142 from .sohu import SohuIE
143 from .soundcloud import SoundcloudIE, SoundcloudSetIE, SoundcloudUserIE
144 from .southparkstudios import (
145     SouthParkStudiosIE,
146     SouthparkDeIE,
147 )
148 from .space import SpaceIE
149 from .spankwire import SpankwireIE
150 from .spiegel import SpiegelIE
151 from .stanfordoc import StanfordOpenClassroomIE
152 from .statigram import StatigramIE
153 from .steam import SteamIE
154 from .streamcloud import StreamcloudIE
155 from .sztvhu import SztvHuIE
156 from .teamcoco import TeamcocoIE
157 from .techtalks import TechTalksIE
158 from .ted import TEDIE
159 from .tf1 import TF1IE
160 from .theplatform import ThePlatformIE
161 from .thisav import ThisAVIE
162 from .toutv import TouTvIE
163 from .traileraddict import TrailerAddictIE
164 from .trilulilu import TriluliluIE
165 from .tube8 import Tube8IE
166 from .tudou import TudouIE
167 from .tumblr import TumblrIE
168 from .tutv import TutvIE
169 from .tvp import TvpIE
170 from .unistra import UnistraIE
171 from .ustream import UstreamIE, UstreamChannelIE
172 from .vbox7 import Vbox7IE
173 from .veehd import VeeHDIE
174 from .veoh import VeohIE
175 from .vevo import VevoIE
176 from .vice import ViceIE
177 from .viddler import ViddlerIE
178 from .videodetective import VideoDetectiveIE
179 from .videofyme import VideofyMeIE
180 from .videopremium import VideoPremiumIE
181 from .vimeo import (
182     VimeoIE,
183     VimeoChannelIE,
184     VimeoUserIE,
185     VimeoAlbumIE,
186     VimeoGroupsIE,
187 )
188 from .vine import VineIE
189 from .viki import VikiIE
190 from .vk import VKIE
191 from .wat import WatIE
192 from .websurg import WeBSurgIE
193 from .weibo import WeiboIE
194 from .wimp import WimpIE
195 from .wistia import WistiaIE
196 from .worldstarhiphop import WorldStarHipHopIE
197 from .xhamster import XHamsterIE
198 from .xnxx import XNXXIE
199 from .xvideos import XVideosIE
200 from .xtube import XTubeIE
201 from .yahoo import (
202     YahooIE,
203     YahooNewsIE,
204     YahooSearchIE,
205 )
206 from .youjizz import YouJizzIE
207 from .youku import YoukuIE
208 from .youporn import YouPornIE
209 from .youtube import (
210     YoutubeIE,
211     YoutubePlaylistIE,
212     YoutubeSearchIE,
213     YoutubeSearchDateIE,
214     YoutubeUserIE,
215     YoutubeChannelIE,
216     YoutubeShowIE,
217     YoutubeSubscriptionsIE,
218     YoutubeRecommendedIE,
219     YoutubeTruncatedURLIE,
220     YoutubeWatchLaterIE,
221     YoutubeFavouritesIE,
222     YoutubeHistoryIE,
223     YoutubeTopListIE,
224 )
225 from .zdf import ZDFIE
226
227
228 _ALL_CLASSES = [
229     klass
230     for name, klass in globals().items()
231     if name.endswith('IE') and name != 'GenericIE'
232 ]
233 _ALL_CLASSES.append(GenericIE)
234
235
236 def gen_extractors():
237     """ Return a list of an instance of every supported extractor.
238     The order does matter; the first extractor matched is the one handling the URL.
239     """
240     return [klass() for klass in _ALL_CLASSES]
241
242
243 def get_info_extractor(ie_name):
244     """Returns the info extractor class with the given ie_name"""
245     return globals()[ie_name+'IE']