Add IGNIE
[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 .ign import IGNIE
31 from .ina import InaIE
32 from .infoq import InfoQIE
33 from .instagram import InstagramIE
34 from .jukebox import JukeboxIE
35 from .justintv import JustinTVIE
36 from .keek import KeekIE
37 from .liveleak import LiveLeakIE
38 from .metacafe import MetacafeIE
39 from .mixcloud import MixcloudIE
40 from .mtv import MTVIE
41 from .myspass import MySpassIE
42 from .myvideo import MyVideoIE
43 from .nba import NBAIE
44 from .photobucket import PhotobucketIE
45 from .pornotube import PornotubeIE
46 from .rbmaradio import RBMARadioIE
47 from .redtube import RedTubeIE
48 from .ringtv import RingTVIE
49 from .soundcloud import SoundcloudIE, SoundcloudSetIE
50 from .spiegel import SpiegelIE
51 from .stanfordoc import StanfordOpenClassroomIE
52 from .statigram import StatigramIE
53 from .steam import SteamIE
54 from .teamcoco import TeamcocoIE
55 from .ted import TEDIE
56 from .tf1 import TF1IE
57 from .traileraddict import TrailerAddictIE
58 from .tudou import TudouIE
59 from .tumblr import TumblrIE
60 from .tutv import TutvIE
61 from .ustream import UstreamIE
62 from .vbox7 import Vbox7IE
63 from .veoh import VeohIE
64 from .vevo import VevoIE
65 from .vimeo import VimeoIE
66 from .vine import VineIE
67 from .wat import WatIE
68 from .wimp import WimpIE
69 from .worldstarhiphop import WorldStarHipHopIE
70 from .xhamster import XHamsterIE
71 from .xnxx import XNXXIE
72 from .xvideos import XVideosIE
73 from .yahoo import YahooIE, YahooSearchIE
74 from .youjizz import YouJizzIE
75 from .youku import YoukuIE
76 from .youporn import YouPornIE
77 from .youtube import (
78     YoutubeIE,
79     YoutubePlaylistIE,
80     YoutubeSearchIE,
81     YoutubeUserIE,
82     YoutubeChannelIE,
83     YoutubeShowIE,
84     YoutubeSubscriptionsIE,
85 )
86 from .zdf import ZDFIE
87
88
89 _ALL_CLASSES = [
90     klass
91     for name, klass in globals().items()
92     if name.endswith('IE') and name != 'GenericIE'
93 ]
94 _ALL_CLASSES.append(GenericIE)
95
96 def gen_extractors():
97     """ Return a list of an instance of every supported extractor.
98     The order does matter; the first extractor matched is the one handling the URL.
99     """
100     return [klass() for klass in _ALL_CLASSES]
101
102 def get_info_extractor(ie_name):
103     """Returns the info extractor class with the given ie_name"""
104     return globals()[ie_name+'IE']