Extractor for defense.gouv.fr
[youtube-dl] / youtube_dl / extractor / __init__.py
1 from .appletrailers import AppleTrailersIE
2 from .addanime import AddAnimeIE
3 from .archiveorg import ArchiveOrgIE
4 from .ard import ARDIE
5 from .arte import ArteTvIE
6 from .auengine import AUEngineIE
7 from .bandcamp import BandcampIE
8 from .bliptv import BlipTVIE, BlipTVUserIE
9 from .breakcom import BreakIE
10 from .brightcove import BrightcoveIE
11 from .c56 import C56IE
12 from .canalplus import CanalplusIE
13 from .canalc2 import Canalc2IE
14 from .cnn import CNNIE
15 from .collegehumor import CollegeHumorIE
16 from .comedycentral import ComedyCentralIE
17 from .condenast import CondeNastIE
18 from .criterion import CriterionIE
19 from .cspan import CSpanIE
20 from .dailymotion import DailymotionIE, DailymotionPlaylistIE
21 from .depositfiles import DepositFilesIE
22 from .dotsub import DotsubIE
23 from .dreisat import DreiSatIE
24 from .defense import DefenseGouvFrIE
25 from .ehow import EHowIE
26 from .eighttracks import EightTracksIE
27 from .escapist import EscapistIE
28 from .exfm import ExfmIE
29 from .facebook import FacebookIE
30 from .flickr import FlickrIE
31 from .freesound import FreesoundIE
32 from .funnyordie import FunnyOrDieIE
33 from .gamespot import GameSpotIE
34 from .gametrailers import GametrailersIE
35 from .generic import GenericIE
36 from .googleplus import GooglePlusIE
37 from .googlesearch import GoogleSearchIE
38 from .hark import HarkIE
39 from .hotnewhiphop import HotNewHipHopIE
40 from .howcast import HowcastIE
41 from .hypem import HypemIE
42 from .ign import IGNIE, OneUPIE
43 from .ina import InaIE
44 from .infoq import InfoQIE
45 from .instagram import InstagramIE
46 from .jeuxvideo import JeuxVideoIE
47 from .jukebox import JukeboxIE
48 from .justintv import JustinTVIE
49 from .kankan import KankanIE
50 from .keek import KeekIE
51 from .liveleak import LiveLeakIE
52 from .livestream import LivestreamIE
53 from .metacafe import MetacafeIE
54 from .mit import TechTVMITIE, MITIE
55 from .mixcloud import MixcloudIE
56 from .mtv import MTVIE
57 from .muzu import MuzuTVIE
58 from .myspass import MySpassIE
59 from .myvideo import MyVideoIE
60 from .nba import NBAIE
61 from .nbc import NBCNewsIE
62 from .ooyala import OoyalaIE
63 from .orf import ORFIE
64 from .pbs import PBSIE
65 from .photobucket import PhotobucketIE
66 from .pornotube import PornotubeIE
67 from .rbmaradio import RBMARadioIE
68 from .redtube import RedTubeIE
69 from .ringtv import RingTVIE
70 from .ro220 import Ro220IE
71 from .roxwel import RoxwelIE
72 from .rtlnow import RTLnowIE
73 from .sina import SinaIE
74 from .slashdot import SlashdotIE
75 from .sohu import SohuIE
76 from .soundcloud import SoundcloudIE, SoundcloudSetIE
77 from .spiegel import SpiegelIE
78 from .stanfordoc import StanfordOpenClassroomIE
79 from .statigram import StatigramIE
80 from .steam import SteamIE
81 from .teamcoco import TeamcocoIE
82 from .ted import TEDIE
83 from .tf1 import TF1IE
84 from .thisav import ThisAVIE
85 from .traileraddict import TrailerAddictIE
86 from .trilulilu import TriluliluIE
87 from .tudou import TudouIE
88 from .tumblr import TumblrIE
89 from .tutv import TutvIE
90 from .unistra import UnistraIE
91 from .ustream import UstreamIE
92 from .vbox7 import Vbox7IE
93 from .veehd import VeeHDIE
94 from .veoh import VeohIE
95 from .vevo import VevoIE
96 from .videofyme import VideofyMeIE
97 from .vimeo import VimeoIE, VimeoChannelIE
98 from .vine import VineIE
99 from .wat import WatIE
100 from .weibo import WeiboIE
101 from .wimp import WimpIE
102 from .worldstarhiphop import WorldStarHipHopIE
103 from .xhamster import XHamsterIE
104 from .xnxx import XNXXIE
105 from .xvideos import XVideosIE
106 from .yahoo import YahooIE, YahooSearchIE
107 from .youjizz import YouJizzIE
108 from .youku import YoukuIE
109 from .youporn import YouPornIE
110 from .youtube import (
111     YoutubeIE,
112     YoutubePlaylistIE,
113     YoutubeSearchIE,
114     YoutubeUserIE,
115     YoutubeChannelIE,
116     YoutubeShowIE,
117     YoutubeSubscriptionsIE,
118     YoutubeRecommendedIE,
119     YoutubeWatchLaterIE,
120     YoutubeFavouritesIE,
121 )
122 from .zdf import ZDFIE
123
124
125 _ALL_CLASSES = [
126     klass
127     for name, klass in globals().items()
128     if name.endswith('IE') and name != 'GenericIE'
129 ]
130 _ALL_CLASSES.append(GenericIE)
131
132
133 def gen_extractors():
134     """ Return a list of an instance of every supported extractor.
135     The order does matter; the first extractor matched is the one handling the URL.
136     """
137     return [klass() for klass in _ALL_CLASSES]
138
139
140 def get_info_extractor(ie_name):
141     """Returns the info extractor class with the given ie_name"""
142     return globals()[ie_name+'IE']