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