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