]> Raphaƫl G. Git Repositories - youtubedl/blob - youtube_dl/extractor/__init__.py
debian/control: Fix syntax error in Depends: field.
[youtubedl] / youtube_dl / extractor / __init__.py
1
2 from .ard import ARDIE
3 from .arte import ArteTvIE
4 from .bandcamp import BandcampIE
5 from .bliptv import BlipTVIE, BlipTVUserIE
6 from .breakcom import BreakIE
7 from .collegehumor import CollegeHumorIE
8 from .comedycentral import ComedyCentralIE
9 from .cspan import CSpanIE
10 from .dailymotion import DailymotionIE
11 from .depositfiles import DepositFilesIE
12 from .eighttracks import EightTracksIE
13 from .escapist import EscapistIE
14 from .facebook import FacebookIE
15 from .flickr import FlickrIE
16 from .funnyordie import FunnyOrDieIE
17 from .gametrailers import GametrailersIE
18 from .generic import GenericIE
19 from .googleplus import GooglePlusIE
20 from .googlesearch import GoogleSearchIE
21 from .howcast import HowcastIE
22 from .hypem import HypemIE
23 from .ina import InaIE
24 from .infoq import InfoQIE
25 from .jukebox import JukeboxIE
26 from .justintv import JustinTVIE
27 from .keek import KeekIE
28 from .liveleak import LiveLeakIE
29 from .metacafe import MetacafeIE
30 from .mixcloud import MixcloudIE
31 from .mtv import MTVIE
32 from .myspass import MySpassIE
33 from .myvideo import MyVideoIE
34 from .nba import NBAIE
35 from .photobucket import PhotobucketIE
36 from .pornotube import PornotubeIE
37 from .rbmaradio import RBMARadioIE
38 from .redtube import RedTubeIE
39 from .soundcloud import SoundcloudIE, SoundcloudSetIE
40 from .spiegel import SpiegelIE
41 from .stanfordoc import StanfordOpenClassroomIE
42 from .statigram import StatigramIE
43 from .steam import SteamIE
44 from .teamcoco import TeamcocoIE
45 from .ted import TEDIE
46 from .tudou import TudouIE
47 from .tumblr import TumblrIE
48 from .ustream import UstreamIE
49 from .vbox7 import Vbox7IE
50 from .vevo import VevoIE
51 from .vimeo import VimeoIE
52 from .vine import VineIE
53 from .wimp import WimpIE
54 from .worldstarhiphop import WorldStarHipHopIE
55 from .xhamster import XHamsterIE
56 from .xnxx import XNXXIE
57 from .xvideos import XVideosIE
58 from .yahoo import YahooIE, YahooSearchIE
59 from .youjizz import YouJizzIE
60 from .youku import YoukuIE
61 from .youporn import YouPornIE
62 from .youtube import YoutubeIE, YoutubePlaylistIE, YoutubeSearchIE, YoutubeUserIE, YoutubeChannelIE
63 from .zdf import ZDFIE
64
65
66 def gen_extractors():
67 """ Return a list of an instance of every supported extractor.
68 The order does matter; the first extractor matched is the one handling the URL.
69 """
70 return [
71 YoutubePlaylistIE(),
72 YoutubeChannelIE(),
73 YoutubeUserIE(),
74 YoutubeSearchIE(),
75 YoutubeIE(),
76 MetacafeIE(),
77 DailymotionIE(),
78 GoogleSearchIE(),
79 PhotobucketIE(),
80 YahooIE(),
81 YahooSearchIE(),
82 DepositFilesIE(),
83 FacebookIE(),
84 BlipTVIE(),
85 BlipTVUserIE(),
86 VimeoIE(),
87 MyVideoIE(),
88 ComedyCentralIE(),
89 EscapistIE(),
90 CollegeHumorIE(),
91 XVideosIE(),
92 SoundcloudSetIE(),
93 SoundcloudIE(),
94 InfoQIE(),
95 MixcloudIE(),
96 StanfordOpenClassroomIE(),
97 MTVIE(),
98 YoukuIE(),
99 XNXXIE(),
100 YouJizzIE(),
101 PornotubeIE(),
102 YouPornIE(),
103 GooglePlusIE(),
104 ArteTvIE(),
105 NBAIE(),
106 WorldStarHipHopIE(),
107 JustinTVIE(),
108 FunnyOrDieIE(),
109 SteamIE(),
110 UstreamIE(),
111 RBMARadioIE(),
112 EightTracksIE(),
113 KeekIE(),
114 TEDIE(),
115 MySpassIE(),
116 SpiegelIE(),
117 LiveLeakIE(),
118 ARDIE(),
119 ZDFIE(),
120 TumblrIE(),
121 BandcampIE(),
122 RedTubeIE(),
123 InaIE(),
124 HowcastIE(),
125 VineIE(),
126 FlickrIE(),
127 TeamcocoIE(),
128 XHamsterIE(),
129 HypemIE(),
130 Vbox7IE(),
131 GametrailersIE(),
132 StatigramIE(),
133 BreakIE(),
134 VevoIE(),
135 JukeboxIE(),
136 TudouIE(),
137 CSpanIE(),
138 WimpIE(),
139 GenericIE()
140 ]
141
142 def get_info_extractor(ie_name):
143 """Returns the info extractor class with the given ie_name"""
144 return globals()[ie_name+'IE']