]>
Commit | Line | Data |
---|---|---|
44586389 | 1 | from .appletrailers import AppleTrailersIE |
2eabb802 | 2 | from .addanime import AddAnimeIE |
5fe3a3c3 | 3 | from .archiveorg import ArchiveOrgIE |
c59b4aae PH |
4 | from .ard import ARDIE |
5 | from .arte import ArteTvIE | |
d798e1c7 | 6 | from .auengine import AUEngineIE |
c59b4aae PH |
7 | from .bandcamp import BandcampIE |
8 | from .bliptv import BlipTVIE, BlipTVUserIE | |
4b6462fc | 9 | from .bloomberg import BloombergIE |
825e0984 | 10 | from .breakcom import BreakIE |
fbaaad49 | 11 | from .brightcove import BrightcoveIE |
341ca8d7 | 12 | from .c56 import C56IE |
ffca4b5c | 13 | from .canalplus import CanalplusIE |
cd0abcc0 | 14 | from .canalc2 import Canalc2IE |
400afdda | 15 | from .cinemassacre import CinemassacreIE |
1a582dd4 | 16 | from .cnn import CNNIE |
c59b4aae | 17 | from .collegehumor import CollegeHumorIE |
318452bc | 18 | from .comedycentral import ComedyCentralIE |
e1fb2456 | 19 | from .condenast import CondeNastIE |
159736c1 | 20 | from .criterion import CriterionIE |
aa0c8739 | 21 | from .cspan import CSpanIE |
39baacc4 JMF |
22 | from .dailymotion import ( |
23 | DailymotionIE, | |
24 | DailymotionPlaylistIE, | |
25 | DailymotionUserIE, | |
26 | ) | |
150f2082 | 27 | from .daum import DaumIE |
c59b4aae | 28 | from .depositfiles import DepositFilesIE |
13e06d29 | 29 | from .dotsub import DotsubIE |
73e79f2a | 30 | from .dreisat import DreiSatIE |
52afe996 | 31 | from .defense import DefenseGouvFrIE |
3d60bb96 | 32 | from .ebaumsworld import EbaumsWorldIE |
81082e04 | 33 | from .ehow import EHowIE |
c59b4aae PH |
34 | from .eighttracks import EightTracksIE |
35 | from .escapist import EscapistIE | |
b6ef4029 | 36 | from .exfm import ExfmIE |
c59b4aae | 37 | from .facebook import FacebookIE |
63da13e8 | 38 | from .faz import FazIE |
0761d02b | 39 | from .fktv import ( |
40 | FKTVIE, | |
41 | FKTVPosteckeIE, | |
42 | ) | |
c59b4aae | 43 | from .flickr import FlickrIE |
648d25d4 JMF |
44 | from .francetv import ( |
45 | PluzzIE, | |
46 | FranceTvInfoIE, | |
a825f330 | 47 | France2IE, |
5b333c1c | 48 | GenerationQuoiIE |
648d25d4 | 49 | ) |
67de24e4 | 50 | from .freesound import FreesoundIE |
c59b4aae | 51 | from .funnyordie import FunnyOrDieIE |
bf64ff72 | 52 | from .gamespot import GameSpotIE |
c59b4aae PH |
53 | from .gametrailers import GametrailersIE |
54 | from .generic import GenericIE | |
55 | from .googleplus import GooglePlusIE | |
56 | from .googlesearch import GoogleSearchIE | |
e3a88568 | 57 | from .hark import HarkIE |
5b66de88 | 58 | from .hotnewhiphop import HotNewHipHopIE |
c59b4aae PH |
59 | from .howcast import HowcastIE |
60 | from .hypem import HypemIE | |
a95967f8 | 61 | from .ign import IGNIE, OneUPIE |
c59b4aae PH |
62 | from .ina import InaIE |
63 | from .infoq import InfoQIE | |
59fc531f | 64 | from .instagram import InstagramIE |
25b51c78 | 65 | from .jeuxvideo import JeuxVideoIE |
28ef06f7 | 66 | from .jukebox import JukeboxIE |
318452bc | 67 | from .justintv import JustinTVIE |
8cda9241 | 68 | from .kankan import KankanIE |
f1d20fa3 | 69 | from .kickstarter import KickStarterIE |
c59b4aae PH |
70 | from .keek import KeekIE |
71 | from .liveleak import LiveLeakIE | |
b4444d5c | 72 | from .livestream import LivestreamIE |
c59b4aae | 73 | from .metacafe import MetacafeIE |
7e772752 | 74 | from .metacritic import MetacriticIE |
67b22dd0 | 75 | from .mit import TechTVMITIE, MITIE |
c59b4aae PH |
76 | from .mixcloud import MixcloudIE |
77 | from .mtv import MTVIE | |
577664c8 | 78 | from .muzu import MuzuTVIE |
c59b4aae PH |
79 | from .myspass import MySpassIE |
80 | from .myvideo import MyVideoIE | |
6b95b065 | 81 | from .naver import NaverIE |
c59b4aae | 82 | from .nba import NBAIE |
0bc56fa6 | 83 | from .nbc import NBCNewsIE |
eb03f4da | 84 | from .newgrounds import NewgroundsIE |
91dbaef4 | 85 | from .nhl import NHLIE, NHLVideocenterIE |
f5e54a1f | 86 | from .nowvideo import NowVideoIE |
09825cb5 | 87 | from .ooyala import OoyalaIE |
54543467 | 88 | from .orf import ORFIE |
9779b63b | 89 | from .pbs import PBSIE |
c59b4aae PH |
90 | from .photobucket import PhotobucketIE |
91 | from .pornotube import PornotubeIE | |
92 | from .rbmaradio import RBMARadioIE | |
93 | from .redtube import RedTubeIE | |
f46d31f9 | 94 | from .ringtv import RingTVIE |
9460db83 | 95 | from .ro220 import Ro220IE |
58261235 | 96 | from .roxwel import RoxwelIE |
01b32990 | 97 | from .rtlnow import RTLnowIE |
0932300e | 98 | from .sina import SinaIE |
d81aef3a | 99 | from .slashdot import SlashdotIE |
07463ea1 | 100 | from .slideshare import SlideshareIE |
6624a2b0 | 101 | from .sohu import SohuIE |
92790f4e | 102 | from .soundcloud import SoundcloudIE, SoundcloudSetIE, SoundcloudUserIE |
5a6fecc3 | 103 | from .southparkstudios import SouthParkStudiosIE |
c59b4aae PH |
104 | from .spiegel import SpiegelIE |
105 | from .stanfordoc import StanfordOpenClassroomIE | |
318452bc | 106 | from .statigram import StatigramIE |
c59b4aae PH |
107 | from .steam import SteamIE |
108 | from .teamcoco import TeamcocoIE | |
109 | from .ted import TEDIE | |
705f6f35 | 110 | from .tf1 import TF1IE |
466de688 | 111 | from .thisav import ThisAVIE |
887a2279 | 112 | from .traileraddict import TrailerAddictIE |
341ca8d7 | 113 | from .trilulilu import TriluliluIE |
318452bc | 114 | from .tudou import TudouIE |
c59b4aae | 115 | from .tumblr import TumblrIE |
9afb1afc | 116 | from .tutv import TutvIE |
f527115b | 117 | from .unistra import UnistraIE |
bfd5c93a | 118 | from .ustream import UstreamIE, UstreamChannelIE |
c59b4aae | 119 | from .vbox7 import Vbox7IE |
8e4e89f1 | 120 | from .veehd import VeeHDIE |
99e350d9 | 121 | from .veoh import VeohIE |
70d1924f | 122 | from .vevo import VevoIE |
e8f8e800 | 123 | from .vice import ViceIE |
41e8bca4 | 124 | from .viddler import ViddlerIE |
bba12cec | 125 | from .videofyme import VideofyMeIE |
caeefc29 | 126 | from .vimeo import VimeoIE, VimeoChannelIE |
c59b4aae | 127 | from .vine import VineIE |
705f6f35 | 128 | from .wat import WatIE |
c364f15f | 129 | from .weibo import WeiboIE |
405ec05c | 130 | from .wimp import WimpIE |
c59b4aae | 131 | from .worldstarhiphop import WorldStarHipHopIE |
c59b4aae | 132 | from .xhamster import XHamsterIE |
318452bc | 133 | from .xnxx import XNXXIE |
c59b4aae PH |
134 | from .xvideos import XVideosIE |
135 | from .yahoo import YahooIE, YahooSearchIE | |
136 | from .youjizz import YouJizzIE | |
137 | from .youku import YoukuIE | |
138 | from .youporn import YouPornIE | |
04cc9617 JMF |
139 | from .youtube import ( |
140 | YoutubeIE, | |
141 | YoutubePlaylistIE, | |
142 | YoutubeSearchIE, | |
143 | YoutubeUserIE, | |
144 | YoutubeChannelIE, | |
145 | YoutubeShowIE, | |
146 | YoutubeSubscriptionsIE, | |
d7ae0639 | 147 | YoutubeRecommendedIE, |
15870e90 | 148 | YoutubeTruncatedURLIE, |
43ba5456 | 149 | YoutubeWatchLaterIE, |
c626a3d9 | 150 | YoutubeFavouritesIE, |
04cc9617 | 151 | ) |
c59b4aae | 152 | from .zdf import ZDFIE |
318452bc | 153 | |
f46d31f9 | 154 | |
1f0483b4 PH |
155 | _ALL_CLASSES = [ |
156 | klass | |
157 | for name, klass in globals().items() | |
158 | if name.endswith('IE') and name != 'GenericIE' | |
159 | ] | |
160 | _ALL_CLASSES.append(GenericIE) | |
f9c6cbf0 | 161 | |
9460db83 | 162 | |
f9c6cbf0 PH |
163 | def gen_extractors(): |
164 | """ Return a list of an instance of every supported extractor. | |
165 | The order does matter; the first extractor matched is the one handling the URL. | |
166 | """ | |
1f0483b4 | 167 | return [klass() for klass in _ALL_CLASSES] |
f9c6cbf0 | 168 | |
9460db83 | 169 | |
f9c6cbf0 PH |
170 | def get_info_extractor(ie_name): |
171 | """Returns the info extractor class with the given ie_name""" | |
172 | return globals()[ie_name+'IE'] |