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