[appletrailers] Add support
[youtube-dl] / youtube_dl / extractor / __init__.py
1 from .appletrailers import AppleTrailersIE
2 from .archiveorg import ArchiveOrgIE
3 from .ard import ARDIE
4 from .arte import ArteTvIE
5 from .auengine import AUEngineIE
6 from .bandcamp import BandcampIE
7 from .bliptv import BlipTVIE, BlipTVUserIE
8 from .breakcom import BreakIE
9 from .brightcove import BrightcoveIE
10 from .c56 import C56IE
11 from .canalplus import CanalplusIE
12 from .canalc2 import Canalc2IE
13 from .cnn import CNNIE
14 from .collegehumor import CollegeHumorIE
15 from .comedycentral import ComedyCentralIE
16 from .condenast import CondeNastIE
17 from .criterion import CriterionIE
18 from .cspan import CSpanIE
19 from .dailymotion import DailymotionIE, DailymotionPlaylistIE
20 from .depositfiles import DepositFilesIE
21 from .dotsub import DotsubIE
22 from .dreisat import DreiSatIE
23 from .ehow import EHowIE
24 from .eighttracks import EightTracksIE
25 from .escapist import EscapistIE
26 from .exfm import ExfmIE
27 from .facebook import FacebookIE
28 from .flickr import FlickrIE
29 from .freesound import FreesoundIE
30 from .funnyordie import FunnyOrDieIE
31 from .gamespot import GameSpotIE
32 from .gametrailers import GametrailersIE
33 from .generic import GenericIE
34 from .googleplus import GooglePlusIE
35 from .googlesearch import GoogleSearchIE
36 from .hark import HarkIE
37 from .hotnewhiphop import HotNewHipHopIE
38 from .howcast import HowcastIE
39 from .hypem import HypemIE
40 from .ign import IGNIE, OneUPIE
41 from .ina import InaIE
42 from .infoq import InfoQIE
43 from .instagram import InstagramIE
44 from .jeuxvideo import JeuxVideoIE
45 from .jukebox import JukeboxIE
46 from .justintv import JustinTVIE
47 from .kankan import KankanIE
48 from .keek import KeekIE
49 from .liveleak import LiveLeakIE
50 from .livestream import LivestreamIE
51 from .metacafe import MetacafeIE
52 from .mixcloud import MixcloudIE
53 from .mtv import MTVIE
54 from .muzu import MuzuTVIE
55 from .myspass import MySpassIE
56 from .myvideo import MyVideoIE
57 from .nba import NBAIE
58 from .nbc import NBCNewsIE
59 from .ooyala import OoyalaIE
60 from .pbs import PBSIE
61 from .photobucket import PhotobucketIE
62 from .pornotube import PornotubeIE
63 from .rbmaradio import RBMARadioIE
64 from .redtube import RedTubeIE
65 from .ringtv import RingTVIE
66 from .ro220 import Ro220IE
67 from .roxwel import RoxwelIE
68 from .rtlnow import RTLnowIE
69 from .sina import SinaIE
70 from .slashdot import SlashdotIE
71 from .soundcloud import SoundcloudIE, SoundcloudSetIE
72 from .spiegel import SpiegelIE
73 from .stanfordoc import StanfordOpenClassroomIE
74 from .statigram import StatigramIE
75 from .steam import SteamIE
76 from .teamcoco import TeamcocoIE
77 from .ted import TEDIE
78 from .tf1 import TF1IE
79 from .thisav import ThisAVIE
80 from .traileraddict import TrailerAddictIE
81 from .trilulilu import TriluliluIE
82 from .tudou import TudouIE
83 from .tumblr import TumblrIE
84 from .tutv import TutvIE
85 from .unistra import UnistraIE
86 from .ustream import UstreamIE
87 from .vbox7 import Vbox7IE
88 from .veoh import VeohIE
89 from .vevo import VevoIE
90 from .videofyme import VideofyMeIE
91 from .vimeo import VimeoIE, VimeoChannelIE
92 from .vine import VineIE
93 from .wat import WatIE
94 from .weibo import WeiboIE
95 from .wimp import WimpIE
96 from .worldstarhiphop import WorldStarHipHopIE
97 from .xhamster import XHamsterIE
98 from .xnxx import XNXXIE
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
104 from .youtube import (
105     YoutubeIE,
106     YoutubePlaylistIE,
107     YoutubeSearchIE,
108     YoutubeUserIE,
109     YoutubeChannelIE,
110     YoutubeShowIE,
111     YoutubeSubscriptionsIE,
112     YoutubeRecommendedIE,
113     YoutubeWatchLaterIE,
114     YoutubeFavouritesIE,
115 )
116 from .zdf import ZDFIE
117
118
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)
125
126
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     """
131     return [klass() for klass in _ALL_CLASSES]
132
133
134 def get_info_extractor(ie_name):
135     """Returns the info extractor class with the given ie_name"""
136     return globals()[ie_name+'IE']