]> Raphaƫl G. Git Repositories - youtubedl/blob - youtube_dl/extractor/__init__.py
90f1a4418b1267cf630a60dca3cd23266133f59c
[youtubedl] / youtube_dl / extractor / __init__.py
1 from .appletrailers import AppleTrailersIE
2 from .addanime import AddAnimeIE
3 from .archiveorg import ArchiveOrgIE
4 from .ard import ARDIE
5 from .arte import ArteTvIE
6 from .auengine import AUEngineIE
7 from .bandcamp import BandcampIE
8 from .bliptv import BlipTVIE, BlipTVUserIE
9 from .breakcom import BreakIE
10 from .brightcove import BrightcoveIE
11 from .c56 import C56IE
12 from .canalplus import CanalplusIE
13 from .canalc2 import Canalc2IE
14 from .cnn import CNNIE
15 from .collegehumor import CollegeHumorIE
16 from .comedycentral import ComedyCentralIE
17 from .condenast import CondeNastIE
18 from .criterion import CriterionIE
19 from .cspan import CSpanIE
20 from .dailymotion import DailymotionIE, DailymotionPlaylistIE
21 from .depositfiles import DepositFilesIE
22 from .dotsub import DotsubIE
23 from .dreisat import DreiSatIE
24 from .ehow import EHowIE
25 from .eighttracks import EightTracksIE
26 from .escapist import EscapistIE
27 from .exfm import ExfmIE
28 from .facebook import FacebookIE
29 from .flickr import FlickrIE
30 from .freesound import FreesoundIE
31 from .funnyordie import FunnyOrDieIE
32 from .gamespot import GameSpotIE
33 from .gametrailers import GametrailersIE
34 from .generic import GenericIE
35 from .googleplus import GooglePlusIE
36 from .googlesearch import GoogleSearchIE
37 from .hark import HarkIE
38 from .hotnewhiphop import HotNewHipHopIE
39 from .howcast import HowcastIE
40 from .hypem import HypemIE
41 from .ign import IGNIE, OneUPIE
42 from .ina import InaIE
43 from .infoq import InfoQIE
44 from .instagram import InstagramIE
45 from .jeuxvideo import JeuxVideoIE
46 from .jukebox import JukeboxIE
47 from .justintv import JustinTVIE
48 from .kankan import KankanIE
49 from .keek import KeekIE
50 from .liveleak import LiveLeakIE
51 from .livestream import LivestreamIE
52 from .metacafe import MetacafeIE
53 from .mit import TechTVMITIE, MITIE
54 from .mixcloud import MixcloudIE
55 from .mtv import MTVIE
56 from .muzu import MuzuTVIE
57 from .myspass import MySpassIE
58 from .myvideo import MyVideoIE
59 from .nba import NBAIE
60 from .nbc import NBCNewsIE
61 from .ooyala import OoyalaIE
62 from .orf import ORFIE
63 from .pbs import PBSIE
64 from .photobucket import PhotobucketIE
65 from .pornotube import PornotubeIE
66 from .rbmaradio import RBMARadioIE
67 from .redtube import RedTubeIE
68 from .ringtv import RingTVIE
69 from .ro220 import Ro220IE
70 from .roxwel import RoxwelIE
71 from .rtlnow import RTLnowIE
72 from .sina import SinaIE
73 from .slashdot import SlashdotIE
74 from .sohu import SohuIE
75 from .soundcloud import SoundcloudIE, SoundcloudSetIE
76 from .spiegel import SpiegelIE
77 from .stanfordoc import StanfordOpenClassroomIE
78 from .statigram import StatigramIE
79 from .steam import SteamIE
80 from .teamcoco import TeamcocoIE
81 from .ted import TEDIE
82 from .tf1 import TF1IE
83 from .thisav import ThisAVIE
84 from .traileraddict import TrailerAddictIE
85 from .trilulilu import TriluliluIE
86 from .tudou import TudouIE
87 from .tumblr import TumblrIE
88 from .tutv import TutvIE
89 from .unistra import UnistraIE
90 from .ustream import UstreamIE
91 from .vbox7 import Vbox7IE
92 from .veoh import VeohIE
93 from .vevo import VevoIE
94 from .videofyme import VideofyMeIE
95 from .vimeo import VimeoIE, VimeoChannelIE
96 from .vine import VineIE
97 from .wat import WatIE
98 from .weibo import WeiboIE
99 from .wimp import WimpIE
100 from .worldstarhiphop import WorldStarHipHopIE
101 from .xhamster import XHamsterIE
102 from .xnxx import XNXXIE
103 from .xvideos import XVideosIE
104 from .yahoo import YahooIE, YahooSearchIE
105 from .youjizz import YouJizzIE
106 from .youku import YoukuIE
107 from .youporn import YouPornIE
108 from .youtube import (
109 YoutubeIE,
110 YoutubePlaylistIE,
111 YoutubeSearchIE,
112 YoutubeUserIE,
113 YoutubeChannelIE,
114 YoutubeShowIE,
115 YoutubeSubscriptionsIE,
116 YoutubeRecommendedIE,
117 YoutubeWatchLaterIE,
118 YoutubeFavouritesIE,
119 )
120 from .zdf import ZDFIE
121
122
123 _ALL_CLASSES = [
124 klass
125 for name, klass in globals().items()
126 if name.endswith('IE') and name != 'GenericIE'
127 ]
128 _ALL_CLASSES.append(GenericIE)
129
130
131 def gen_extractors():
132 """ Return a list of an instance of every supported extractor.
133 The order does matter; the first extractor matched is the one handling the URL.
134 """
135 return [klass() for klass in _ALL_CLASSES]
136
137
138 def get_info_extractor(ie_name):
139 """Returns the info extractor class with the given ie_name"""
140 return globals()[ie_name+'IE']