]> jfr.im git - yt-dlp.git/blame - youtube_dl/extractor/__init__.py
[funnyordie] fix video url extraction
[yt-dlp.git] / youtube_dl / extractor / __init__.py
CommitLineData
44586389 1from .appletrailers import AppleTrailersIE
2eabb802 2from .addanime import AddAnimeIE
5fe3a3c3 3from .archiveorg import ArchiveOrgIE
c59b4aae
PH
4from .ard import ARDIE
5from .arte import ArteTvIE
d798e1c7 6from .auengine import AUEngineIE
c59b4aae
PH
7from .bandcamp import BandcampIE
8from .bliptv import BlipTVIE, BlipTVUserIE
825e0984 9from .breakcom import BreakIE
fbaaad49 10from .brightcove import BrightcoveIE
341ca8d7 11from .c56 import C56IE
ffca4b5c 12from .canalplus import CanalplusIE
cd0abcc0 13from .canalc2 import Canalc2IE
1a582dd4 14from .cnn import CNNIE
c59b4aae 15from .collegehumor import CollegeHumorIE
318452bc 16from .comedycentral import ComedyCentralIE
e1fb2456 17from .condenast import CondeNastIE
159736c1 18from .criterion import CriterionIE
aa0c8739 19from .cspan import CSpanIE
a3c736de 20from .dailymotion import DailymotionIE, DailymotionPlaylistIE
150f2082 21from .daum import DaumIE
c59b4aae 22from .depositfiles import DepositFilesIE
13e06d29 23from .dotsub import DotsubIE
73e79f2a 24from .dreisat import DreiSatIE
52afe996 25from .defense import DefenseGouvFrIE
81082e04 26from .ehow import EHowIE
c59b4aae
PH
27from .eighttracks import EightTracksIE
28from .escapist import EscapistIE
b6ef4029 29from .exfm import ExfmIE
c59b4aae
PH
30from .facebook import FacebookIE
31from .flickr import FlickrIE
648d25d4
JMF
32from .francetv import (
33 PluzzIE,
34 FranceTvInfoIE,
35)
67de24e4 36from .freesound import FreesoundIE
c59b4aae 37from .funnyordie import FunnyOrDieIE
bf64ff72 38from .gamespot import GameSpotIE
c59b4aae
PH
39from .gametrailers import GametrailersIE
40from .generic import GenericIE
41from .googleplus import GooglePlusIE
42from .googlesearch import GoogleSearchIE
e3a88568 43from .hark import HarkIE
5b66de88 44from .hotnewhiphop import HotNewHipHopIE
c59b4aae
PH
45from .howcast import HowcastIE
46from .hypem import HypemIE
a95967f8 47from .ign import IGNIE, OneUPIE
c59b4aae
PH
48from .ina import InaIE
49from .infoq import InfoQIE
59fc531f 50from .instagram import InstagramIE
25b51c78 51from .jeuxvideo import JeuxVideoIE
28ef06f7 52from .jukebox import JukeboxIE
318452bc 53from .justintv import JustinTVIE
8cda9241 54from .kankan import KankanIE
c59b4aae
PH
55from .keek import KeekIE
56from .liveleak import LiveLeakIE
b4444d5c 57from .livestream import LivestreamIE
c59b4aae 58from .metacafe import MetacafeIE
7e772752 59from .metacritic import MetacriticIE
67b22dd0 60from .mit import TechTVMITIE, MITIE
c59b4aae
PH
61from .mixcloud import MixcloudIE
62from .mtv import MTVIE
577664c8 63from .muzu import MuzuTVIE
c59b4aae
PH
64from .myspass import MySpassIE
65from .myvideo import MyVideoIE
6b95b065 66from .naver import NaverIE
c59b4aae 67from .nba import NBAIE
0bc56fa6 68from .nbc import NBCNewsIE
09825cb5 69from .ooyala import OoyalaIE
54543467 70from .orf import ORFIE
9779b63b 71from .pbs import PBSIE
c59b4aae
PH
72from .photobucket import PhotobucketIE
73from .pornotube import PornotubeIE
74from .rbmaradio import RBMARadioIE
75from .redtube import RedTubeIE
f46d31f9 76from .ringtv import RingTVIE
9460db83 77from .ro220 import Ro220IE
58261235 78from .roxwel import RoxwelIE
01b32990 79from .rtlnow import RTLnowIE
0932300e 80from .sina import SinaIE
d81aef3a 81from .slashdot import SlashdotIE
07463ea1 82from .slideshare import SlideshareIE
6624a2b0 83from .sohu import SohuIE
c59b4aae
PH
84from .soundcloud import SoundcloudIE, SoundcloudSetIE
85from .spiegel import SpiegelIE
86from .stanfordoc import StanfordOpenClassroomIE
318452bc 87from .statigram import StatigramIE
c59b4aae
PH
88from .steam import SteamIE
89from .teamcoco import TeamcocoIE
90from .ted import TEDIE
705f6f35 91from .tf1 import TF1IE
466de688 92from .thisav import ThisAVIE
887a2279 93from .traileraddict import TrailerAddictIE
341ca8d7 94from .trilulilu import TriluliluIE
318452bc 95from .tudou import TudouIE
c59b4aae 96from .tumblr import TumblrIE
9afb1afc 97from .tutv import TutvIE
f527115b 98from .unistra import UnistraIE
341ca8d7 99from .ustream import UstreamIE
c59b4aae 100from .vbox7 import Vbox7IE
8e4e89f1 101from .veehd import VeeHDIE
99e350d9 102from .veoh import VeohIE
70d1924f 103from .vevo import VevoIE
bba12cec 104from .videofyme import VideofyMeIE
caeefc29 105from .vimeo import VimeoIE, VimeoChannelIE
c59b4aae 106from .vine import VineIE
705f6f35 107from .wat import WatIE
c364f15f 108from .weibo import WeiboIE
405ec05c 109from .wimp import WimpIE
c59b4aae 110from .worldstarhiphop import WorldStarHipHopIE
c59b4aae 111from .xhamster import XHamsterIE
318452bc 112from .xnxx import XNXXIE
c59b4aae
PH
113from .xvideos import XVideosIE
114from .yahoo import YahooIE, YahooSearchIE
115from .youjizz import YouJizzIE
116from .youku import YoukuIE
117from .youporn import YouPornIE
04cc9617
JMF
118from .youtube import (
119 YoutubeIE,
120 YoutubePlaylistIE,
121 YoutubeSearchIE,
122 YoutubeUserIE,
123 YoutubeChannelIE,
124 YoutubeShowIE,
125 YoutubeSubscriptionsIE,
d7ae0639 126 YoutubeRecommendedIE,
43ba5456 127 YoutubeWatchLaterIE,
c626a3d9 128 YoutubeFavouritesIE,
04cc9617 129)
c59b4aae 130from .zdf import ZDFIE
318452bc 131
f46d31f9 132
1f0483b4
PH
133_ALL_CLASSES = [
134 klass
135 for name, klass in globals().items()
136 if name.endswith('IE') and name != 'GenericIE'
137]
138_ALL_CLASSES.append(GenericIE)
f9c6cbf0 139
9460db83 140
f9c6cbf0
PH
141def gen_extractors():
142 """ Return a list of an instance of every supported extractor.
143 The order does matter; the first extractor matched is the one handling the URL.
144 """
1f0483b4 145 return [klass() for klass in _ALL_CLASSES]
f9c6cbf0 146
9460db83 147
f9c6cbf0
PH
148def get_info_extractor(ie_name):
149 """Returns the info extractor class with the given ie_name"""
150 return globals()[ie_name+'IE']