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