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