]> Raphaƫl G. Git Repositories - youtubedl/blob - youtube_dl/extractor/__init__.py
c20172a53a0372c09810b1a0ba1c0d99c8899d7c
[youtubedl] / youtube_dl / extractor / __init__.py
1 from .archiveorg import ArchiveOrgIE
2 from .ard import ARDIE
3 from .arte import ArteTvIE
4 from .auengine import AUEngineIE
5 from .bandcamp import BandcampIE
6 from .bliptv import BlipTVIE, BlipTVUserIE
7 from .breakcom import BreakIE
8 from .brightcove import BrightcoveIE
9 from .canalplus import CanalplusIE
10 from .collegehumor import CollegeHumorIE
11 from .comedycentral import ComedyCentralIE
12 from .condenast import CondeNastIE
13 from .criterion import CriterionIE
14 from .cspan import CSpanIE
15 from .dailymotion import DailymotionIE, DailymotionPlaylistIE
16 from .depositfiles import DepositFilesIE
17 from .dotsub import DotsubIE
18 from .dreisat import DreiSatIE
19 from .ehow import EHowIE
20 from .eighttracks import EightTracksIE
21 from .escapist import EscapistIE
22 from .exfm import ExfmIE
23 from .facebook import FacebookIE
24 from .flickr import FlickrIE
25 from .freesound import FreesoundIE
26 from .funnyordie import FunnyOrDieIE
27 from .gamespot import GameSpotIE
28 from .gametrailers import GametrailersIE
29 from .generic import GenericIE
30 from .googleplus import GooglePlusIE
31 from .googlesearch import GoogleSearchIE
32 from .hotnewhiphop import HotNewHipHopIE
33 from .howcast import HowcastIE
34 from .hypem import HypemIE
35 from .ign import IGNIE, OneUPIE
36 from .ina import InaIE
37 from .infoq import InfoQIE
38 from .instagram import InstagramIE
39 from .jukebox import JukeboxIE
40 from .justintv import JustinTVIE
41 from .kankan import KankanIE
42 from .keek import KeekIE
43 from .liveleak import LiveLeakIE
44 from .livestream import LivestreamIE
45 from .metacafe import MetacafeIE
46 from .mixcloud import MixcloudIE
47 from .mtv import MTVIE
48 from .myspass import MySpassIE
49 from .myvideo import MyVideoIE
50 from .nba import NBAIE
51 from .photobucket import PhotobucketIE
52 from .pornotube import PornotubeIE
53 from .rbmaradio import RBMARadioIE
54 from .redtube import RedTubeIE
55 from .ringtv import RingTVIE
56 from .roxwel import RoxwelIE
57 from .sina import SinaIE
58 from .soundcloud import SoundcloudIE, SoundcloudSetIE
59 from .spiegel import SpiegelIE
60 from .stanfordoc import StanfordOpenClassroomIE
61 from .statigram import StatigramIE
62 from .steam import SteamIE
63 from .teamcoco import TeamcocoIE
64 from .ted import TEDIE
65 from .tf1 import TF1IE
66 from .thisav import ThisAVIE
67 from .traileraddict import TrailerAddictIE
68 from .tudou import TudouIE
69 from .tumblr import TumblrIE
70 from .tutv import TutvIE
71 from .ustream import UstreamIE
72 from .vbox7 import Vbox7IE
73 from .veoh import VeohIE
74 from .vevo import VevoIE
75 from .vimeo import VimeoIE, VimeoChannelIE
76 from .vine import VineIE
77 from .c56 import C56IE
78 from .wat import WatIE
79 from .weibo import WeiboIE
80 from .wimp import WimpIE
81 from .worldstarhiphop import WorldStarHipHopIE
82 from .xhamster import XHamsterIE
83 from .xnxx import XNXXIE
84 from .xvideos import XVideosIE
85 from .yahoo import YahooIE, YahooSearchIE
86 from .youjizz import YouJizzIE
87 from .youku import YoukuIE
88 from .youporn import YouPornIE
89 from .youtube import (
90 YoutubeIE,
91 YoutubePlaylistIE,
92 YoutubeSearchIE,
93 YoutubeUserIE,
94 YoutubeChannelIE,
95 YoutubeShowIE,
96 YoutubeSubscriptionsIE,
97 YoutubeRecommendedIE,
98 YoutubeWatchLaterIE,
99 YoutubeFavouritesIE,
100 )
101 from .zdf import ZDFIE
102
103
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)
110
111 def 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 """
115 return [klass() for klass in _ALL_CLASSES]
116
117 def get_info_extractor(ie_name):
118 """Returns the info extractor class with the given ie_name"""
119 return globals()[ie_name+'IE']