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