]>
Commit | Line | Data |
---|---|---|
c59b4aae PH |
1 | |
2 | from .ard import ARDIE | |
3 | from .arte import ArteTvIE | |
d798e1c7 | 4 | from .auengine import AUEngineIE |
c59b4aae PH |
5 | from .bandcamp import BandcampIE |
6 | from .bliptv import BlipTVIE, BlipTVUserIE | |
825e0984 | 7 | from .breakcom import BreakIE |
fbaaad49 | 8 | from .brightcove import BrightcoveIE |
c59b4aae | 9 | from .collegehumor import CollegeHumorIE |
318452bc | 10 | from .comedycentral import ComedyCentralIE |
aa0c8739 | 11 | from .cspan import CSpanIE |
c59b4aae PH |
12 | from .dailymotion import DailymotionIE |
13 | from .depositfiles import DepositFilesIE | |
73e79f2a | 14 | from .dreisat import DreiSatIE |
c59b4aae PH |
15 | from .eighttracks import EightTracksIE |
16 | from .escapist import EscapistIE | |
17 | from .facebook import FacebookIE | |
18 | from .flickr import FlickrIE | |
19 | from .funnyordie import FunnyOrDieIE | |
bf64ff72 | 20 | from .gamespot import GameSpotIE |
c59b4aae PH |
21 | from .gametrailers import GametrailersIE |
22 | from .generic import GenericIE | |
23 | from .googleplus import GooglePlusIE | |
24 | from .googlesearch import GoogleSearchIE | |
5b66de88 | 25 | from .hotnewhiphop import HotNewHipHopIE |
c59b4aae PH |
26 | from .howcast import HowcastIE |
27 | from .hypem import HypemIE | |
28 | from .ina import InaIE | |
29 | from .infoq import InfoQIE | |
59fc531f | 30 | from .instagram import InstagramIE |
28ef06f7 | 31 | from .jukebox import JukeboxIE |
318452bc | 32 | from .justintv import JustinTVIE |
c59b4aae PH |
33 | from .keek import KeekIE |
34 | from .liveleak import LiveLeakIE | |
35 | from .metacafe import MetacafeIE | |
36 | from .mixcloud import MixcloudIE | |
37 | from .mtv import MTVIE | |
38 | from .myspass import MySpassIE | |
39 | from .myvideo import MyVideoIE | |
40 | from .nba import NBAIE | |
c59b4aae PH |
41 | from .photobucket import PhotobucketIE |
42 | from .pornotube import PornotubeIE | |
43 | from .rbmaradio import RBMARadioIE | |
44 | from .redtube import RedTubeIE | |
f46d31f9 | 45 | from .ringtv import RingTVIE |
c59b4aae PH |
46 | from .soundcloud import SoundcloudIE, SoundcloudSetIE |
47 | from .spiegel import SpiegelIE | |
48 | from .stanfordoc import StanfordOpenClassroomIE | |
318452bc | 49 | from .statigram import StatigramIE |
c59b4aae PH |
50 | from .steam import SteamIE |
51 | from .teamcoco import TeamcocoIE | |
52 | from .ted import TEDIE | |
705f6f35 | 53 | from .tf1 import TF1IE |
887a2279 | 54 | from .traileraddict import TrailerAddictIE |
318452bc | 55 | from .tudou import TudouIE |
c59b4aae | 56 | from .tumblr import TumblrIE |
9afb1afc | 57 | from .tutv import TutvIE |
c59b4aae PH |
58 | from .ustream import UstreamIE |
59 | from .vbox7 import Vbox7IE | |
70d1924f | 60 | from .vevo import VevoIE |
c59b4aae PH |
61 | from .vimeo import VimeoIE |
62 | from .vine import VineIE | |
705f6f35 | 63 | from .wat import WatIE |
405ec05c | 64 | from .wimp import WimpIE |
c59b4aae | 65 | from .worldstarhiphop import WorldStarHipHopIE |
c59b4aae | 66 | from .xhamster import XHamsterIE |
318452bc | 67 | from .xnxx import XNXXIE |
c59b4aae PH |
68 | from .xvideos import XVideosIE |
69 | from .yahoo import YahooIE, YahooSearchIE | |
70 | from .youjizz import YouJizzIE | |
71 | from .youku import YoukuIE | |
72 | from .youporn import YouPornIE | |
04cc9617 JMF |
73 | from .youtube import ( |
74 | YoutubeIE, | |
75 | YoutubePlaylistIE, | |
76 | YoutubeSearchIE, | |
77 | YoutubeUserIE, | |
78 | YoutubeChannelIE, | |
79 | YoutubeShowIE, | |
80 | YoutubeSubscriptionsIE, | |
81 | ) | |
c59b4aae | 82 | from .zdf import ZDFIE |
318452bc | 83 | |
f46d31f9 | 84 | |
1f0483b4 PH |
85 | _ALL_CLASSES = [ |
86 | klass | |
87 | for name, klass in globals().items() | |
88 | if name.endswith('IE') and name != 'GenericIE' | |
89 | ] | |
90 | _ALL_CLASSES.append(GenericIE) | |
f9c6cbf0 PH |
91 | |
92 | def gen_extractors(): | |
93 | """ Return a list of an instance of every supported extractor. | |
94 | The order does matter; the first extractor matched is the one handling the URL. | |
95 | """ | |
1f0483b4 | 96 | return [klass() for klass in _ALL_CLASSES] |
f9c6cbf0 PH |
97 | |
98 | def get_info_extractor(ie_name): | |
99 | """Returns the info extractor class with the given ie_name""" | |
100 | return globals()[ie_name+'IE'] |