]> jfr.im git - yt-dlp.git/blame - youtube_dl/extractor/__init__.py
release 2013.07.08
[yt-dlp.git] / youtube_dl / extractor / __init__.py
CommitLineData
c59b4aae
PH
1
2from .ard import ARDIE
3from .arte import ArteTvIE
d798e1c7 4from .auengine import AUEngineIE
c59b4aae
PH
5from .bandcamp import BandcampIE
6from .bliptv import BlipTVIE, BlipTVUserIE
825e0984 7from .breakcom import BreakIE
fbaaad49 8from .brightcove import BrightcoveIE
c59b4aae 9from .collegehumor import CollegeHumorIE
318452bc 10from .comedycentral import ComedyCentralIE
aa0c8739 11from .cspan import CSpanIE
c59b4aae
PH
12from .dailymotion import DailymotionIE
13from .depositfiles import DepositFilesIE
73e79f2a 14from .dreisat import DreiSatIE
c59b4aae
PH
15from .eighttracks import EightTracksIE
16from .escapist import EscapistIE
17from .facebook import FacebookIE
18from .flickr import FlickrIE
19from .funnyordie import FunnyOrDieIE
bf64ff72 20from .gamespot import GameSpotIE
c59b4aae
PH
21from .gametrailers import GametrailersIE
22from .generic import GenericIE
23from .googleplus import GooglePlusIE
24from .googlesearch import GoogleSearchIE
5b66de88 25from .hotnewhiphop import HotNewHipHopIE
c59b4aae
PH
26from .howcast import HowcastIE
27from .hypem import HypemIE
28from .ina import InaIE
29from .infoq import InfoQIE
59fc531f 30from .instagram import InstagramIE
28ef06f7 31from .jukebox import JukeboxIE
318452bc 32from .justintv import JustinTVIE
c59b4aae
PH
33from .keek import KeekIE
34from .liveleak import LiveLeakIE
35from .metacafe import MetacafeIE
36from .mixcloud import MixcloudIE
37from .mtv import MTVIE
38from .myspass import MySpassIE
39from .myvideo import MyVideoIE
40from .nba import NBAIE
c59b4aae
PH
41from .photobucket import PhotobucketIE
42from .pornotube import PornotubeIE
43from .rbmaradio import RBMARadioIE
44from .redtube import RedTubeIE
f46d31f9 45from .ringtv import RingTVIE
c59b4aae
PH
46from .soundcloud import SoundcloudIE, SoundcloudSetIE
47from .spiegel import SpiegelIE
48from .stanfordoc import StanfordOpenClassroomIE
318452bc 49from .statigram import StatigramIE
c59b4aae
PH
50from .steam import SteamIE
51from .teamcoco import TeamcocoIE
52from .ted import TEDIE
705f6f35 53from .tf1 import TF1IE
887a2279 54from .traileraddict import TrailerAddictIE
318452bc 55from .tudou import TudouIE
c59b4aae 56from .tumblr import TumblrIE
9afb1afc 57from .tutv import TutvIE
c59b4aae
PH
58from .ustream import UstreamIE
59from .vbox7 import Vbox7IE
70d1924f 60from .vevo import VevoIE
c59b4aae
PH
61from .vimeo import VimeoIE
62from .vine import VineIE
705f6f35 63from .wat import WatIE
405ec05c 64from .wimp import WimpIE
c59b4aae 65from .worldstarhiphop import WorldStarHipHopIE
c59b4aae 66from .xhamster import XHamsterIE
318452bc 67from .xnxx import XNXXIE
c59b4aae
PH
68from .xvideos import XVideosIE
69from .yahoo import YahooIE, YahooSearchIE
70from .youjizz import YouJizzIE
71from .youku import YoukuIE
72from .youporn import YouPornIE
04cc9617
JMF
73from .youtube import (
74 YoutubeIE,
75 YoutubePlaylistIE,
76 YoutubeSearchIE,
77 YoutubeUserIE,
78 YoutubeChannelIE,
79 YoutubeShowIE,
80 YoutubeSubscriptionsIE,
81)
c59b4aae 82from .zdf import ZDFIE
318452bc 83
f46d31f9 84
1f0483b4
PH
85_ALL_CLASSES = [
86 klass
87 for name, klass in globals().items()
88 if name.endswith('IE') and name != 'GenericIE'
89]
90_ALL_CLASSES.append(GenericIE)
f9c6cbf0
PH
91
92def gen_extractors():
93 """ Return a list of an instance of every supported extractor.
94 The order does matter; the first extractor matched is the one handling the URL.
95 """
1f0483b4 96 return [klass() for klass in _ALL_CLASSES]
f9c6cbf0
PH
97
98def get_info_extractor(ie_name):
99 """Returns the info extractor class with the given ie_name"""
100 return globals()[ie_name+'IE']