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