]> jfr.im git - yt-dlp.git/blame - youtube_dl/extractor/__init__.py
Merge pull request #1148 from JohnyMoSwag/master
[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
a3c736de 15from .dailymotion import DailymotionIE, DailymotionPlaylistIE
c59b4aae 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
8cda9241 41from .kankan import KankanIE
c59b4aae
PH
42from .keek import KeekIE
43from .liveleak import LiveLeakIE
b4444d5c 44from .livestream import LivestreamIE
c59b4aae
PH
45from .metacafe import MetacafeIE
46from .mixcloud import MixcloudIE
47from .mtv import MTVIE
48from .myspass import MySpassIE
49from .myvideo import MyVideoIE
50from .nba import NBAIE
c59b4aae
PH
51from .photobucket import PhotobucketIE
52from .pornotube import PornotubeIE
53from .rbmaradio import RBMARadioIE
54from .redtube import RedTubeIE
f46d31f9 55from .ringtv import RingTVIE
58261235 56from .roxwel import RoxwelIE
0932300e 57from .sina import SinaIE
c59b4aae
PH
58from .soundcloud import SoundcloudIE, SoundcloudSetIE
59from .spiegel import SpiegelIE
60from .stanfordoc import StanfordOpenClassroomIE
318452bc 61from .statigram import StatigramIE
c59b4aae
PH
62from .steam import SteamIE
63from .teamcoco import TeamcocoIE
64from .ted import TEDIE
705f6f35 65from .tf1 import TF1IE
466de688 66from .thisav import ThisAVIE
887a2279 67from .traileraddict import TrailerAddictIE
318452bc 68from .tudou import TudouIE
c59b4aae 69from .tumblr import TumblrIE
9afb1afc 70from .tutv import TutvIE
c59b4aae
PH
71from .ustream import UstreamIE
72from .vbox7 import Vbox7IE
99e350d9 73from .veoh import VeohIE
70d1924f 74from .vevo import VevoIE
caeefc29 75from .vimeo import VimeoIE, VimeoChannelIE
c59b4aae 76from .vine import VineIE
e1f6e61e 77from .c56 import C56IE
705f6f35 78from .wat import WatIE
c364f15f 79from .weibo import WeiboIE
405ec05c 80from .wimp import WimpIE
c59b4aae 81from .worldstarhiphop import WorldStarHipHopIE
c59b4aae 82from .xhamster import XHamsterIE
318452bc 83from .xnxx import XNXXIE
c59b4aae
PH
84from .xvideos import XVideosIE
85from .yahoo import YahooIE, YahooSearchIE
86from .youjizz import YouJizzIE
87from .youku import YoukuIE
88from .youporn import YouPornIE
04cc9617
JMF
89from .youtube import (
90 YoutubeIE,
91 YoutubePlaylistIE,
92 YoutubeSearchIE,
93 YoutubeUserIE,
94 YoutubeChannelIE,
95 YoutubeShowIE,
96 YoutubeSubscriptionsIE,
d7ae0639 97 YoutubeRecommendedIE,
43ba5456 98 YoutubeWatchLaterIE,
c626a3d9 99 YoutubeFavouritesIE,
04cc9617 100)
c59b4aae 101from .zdf import ZDFIE
318452bc 102
f46d31f9 103
1f0483b4
PH
104_ALL_CLASSES = [
105 klass
106 for name, klass in globals().items()
107 if name.endswith('IE') and name != 'GenericIE'
108]
109_ALL_CLASSES.append(GenericIE)
f9c6cbf0
PH
110
111def gen_extractors():
112 """ Return a list of an instance of every supported extractor.
113 The order does matter; the first extractor matched is the one handling the URL.
114 """
1f0483b4 115 return [klass() for klass in _ALL_CLASSES]
f9c6cbf0
PH
116
117def get_info_extractor(ie_name):
118 """Returns the info extractor class with the given ie_name"""
119 return globals()[ie_name+'IE']