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