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