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