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