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