[3sat] Add support (Fixes #1001)
[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 .dreisat import DreiSatIE
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
20 from .gamespot import GameSpotIE
21 from .gametrailers import GametrailersIE
22 from .generic import GenericIE
23 from .googleplus import GooglePlusIE
24 from .googlesearch import GoogleSearchIE
25 from .hotnewhiphop import HotNewHipHopIE
26 from .howcast import HowcastIE
27 from .hypem import HypemIE
28 from .ina import InaIE
29 from .infoq import InfoQIE
30 from .instagram import InstagramIE
31 from .jukebox import JukeboxIE
32 from .justintv import JustinTVIE
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
41 from .photobucket import PhotobucketIE
42 from .pornotube import PornotubeIE
43 from .rbmaradio import RBMARadioIE
44 from .redtube import RedTubeIE
45 from .ringtv import RingTVIE
46 from .soundcloud import SoundcloudIE, SoundcloudSetIE
47 from .spiegel import SpiegelIE
48 from .stanfordoc import StanfordOpenClassroomIE
49 from .statigram import StatigramIE
50 from .steam import SteamIE
51 from .teamcoco import TeamcocoIE
52 from .ted import TEDIE
53 from .tf1 import TF1IE
54 from .traileraddict import TrailerAddictIE
55 from .tudou import TudouIE
56 from .tumblr import TumblrIE
57 from .tutv import TutvIE
58 from .ustream import UstreamIE
59 from .vbox7 import Vbox7IE
60 from .vevo import VevoIE
61 from .vimeo import VimeoIE
62 from .vine import VineIE
63 from .wat import WatIE
64 from .wimp import WimpIE
65 from .worldstarhiphop import WorldStarHipHopIE
66 from .xhamster import XHamsterIE
67 from .xnxx import XNXXIE
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
73 from .youtube import (
74     YoutubeIE,
75     YoutubePlaylistIE,
76     YoutubeSearchIE,
77     YoutubeUserIE,
78     YoutubeChannelIE,
79     YoutubeShowIE,
80     YoutubeSubscriptionsIE,
81 )
82 from .zdf import ZDFIE
83
84
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)
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     """
96     return [klass() for klass in _ALL_CLASSES]
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']