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