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