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