[vimeo] Add an extractor for albums (closes #1911)
[youtube-dl] / youtube_dl / extractor / __init__.py
1 from .appletrailers import AppleTrailersIE
2 from .addanime import AddAnimeIE
3 from .anitube import AnitubeIE
4 from .archiveorg import ArchiveOrgIE
5 from .ard import ARDIE
6 from .arte import (
7     ArteTvIE,
8     ArteTVPlus7IE,
9     ArteTVCreativeIE,
10     ArteTVFutureIE,
11 )
12 from .auengine import AUEngineIE
13 from .bambuser import BambuserIE, BambuserChannelIE
14 from .bandcamp import BandcampIE, BandcampAlbumIE
15 from .bliptv import BlipTVIE, BlipTVUserIE
16 from .bloomberg import BloombergIE
17 from .breakcom import BreakIE
18 from .brightcove import BrightcoveIE
19 from .c56 import C56IE
20 from .canalplus import CanalplusIE
21 from .canalc2 import Canalc2IE
22 from .cinemassacre import CinemassacreIE
23 from .clipfish import ClipfishIE
24 from .clipsyndicate import ClipsyndicateIE
25 from .cnn import CNNIE
26 from .collegehumor import CollegeHumorIE
27 from .comedycentral import ComedyCentralIE, ComedyCentralShowsIE
28 from .condenast import CondeNastIE
29 from .criterion import CriterionIE
30 from .cspan import CSpanIE
31 from .d8 import D8IE
32 from .dailymotion import (
33     DailymotionIE,
34     DailymotionPlaylistIE,
35     DailymotionUserIE,
36 )
37 from .daum import DaumIE
38 from .depositfiles import DepositFilesIE
39 from .dotsub import DotsubIE
40 from .dreisat import DreiSatIE
41 from .defense import DefenseGouvFrIE
42 from .ebaumsworld import EbaumsWorldIE
43 from .ehow import EHowIE
44 from .eighttracks import EightTracksIE
45 from .eitb import EitbIE
46 from .escapist import EscapistIE
47 from .exfm import ExfmIE
48 from .extremetube import ExtremeTubeIE
49 from .facebook import FacebookIE
50 from .faz import FazIE
51 from .fktv import (
52     FKTVIE,
53     FKTVPosteckeIE,
54 )
55 from .flickr import FlickrIE
56 from .francetv import (
57     PluzzIE,
58     FranceTvInfoIE,
59     FranceTVIE,
60     GenerationQuoiIE
61 )
62 from .freesound import FreesoundIE
63 from .funnyordie import FunnyOrDieIE
64 from .gamekings import GamekingsIE
65 from .gamespot import GameSpotIE
66 from .gametrailers import GametrailersIE
67 from .generic import GenericIE
68 from .googleplus import GooglePlusIE
69 from .googlesearch import GoogleSearchIE
70 from .hark import HarkIE
71 from .hotnewhiphop import HotNewHipHopIE
72 from .howcast import HowcastIE
73 from .hypem import HypemIE
74 from .ign import IGNIE, OneUPIE
75 from .imdb import ImdbIE
76 from .ina import InaIE
77 from .infoq import InfoQIE
78 from .instagram import InstagramIE
79 from .internetvideoarchive import InternetVideoArchiveIE
80 from .jeuxvideo import JeuxVideoIE
81 from .jukebox import JukeboxIE
82 from .justintv import JustinTVIE
83 from .kankan import KankanIE
84 from .keezmovies import KeezMoviesIE
85 from .kickstarter import KickStarterIE
86 from .keek import KeekIE
87 from .liveleak import LiveLeakIE
88 from .livestream import LivestreamIE, LivestreamOriginalIE
89 from .metacafe import MetacafeIE
90 from .metacritic import MetacriticIE
91 from .mit import TechTVMITIE, MITIE
92 from .mixcloud import MixcloudIE
93 from .mofosex import MofosexIE
94 from .mtv import MTVIE
95 from .muzu import MuzuTVIE
96 from .myspace import MySpaceIE
97 from .myspass import MySpassIE
98 from .myvideo import MyVideoIE
99 from .naver import NaverIE
100 from .nba import NBAIE
101 from .nbc import NBCNewsIE
102 from .newgrounds import NewgroundsIE
103 from .nhl import NHLIE, NHLVideocenterIE
104 from .niconico import NiconicoIE
105 from .ninegag import NineGagIE
106 from .nowvideo import NowVideoIE
107 from .ooyala import OoyalaIE
108 from .orf import ORFIE
109 from .pbs import PBSIE
110 from .photobucket import PhotobucketIE
111 from .podomatic import PodomaticIE
112 from .pornhub import PornHubIE
113 from .pornotube import PornotubeIE
114 from .rbmaradio import RBMARadioIE
115 from .redtube import RedTubeIE
116 from .ringtv import RingTVIE
117 from .ro220 import Ro220IE
118 from .rottentomatoes import RottenTomatoesIE
119 from .roxwel import RoxwelIE
120 from .rtlnow import RTLnowIE
121 from .rutube import RutubeIE
122 from .sina import SinaIE
123 from .slashdot import SlashdotIE
124 from .slideshare import SlideshareIE
125 from .smotri import (
126     SmotriIE,
127     SmotriCommunityIE,
128     SmotriUserIE,
129 )
130 from .sohu import SohuIE
131 from .soundcloud import SoundcloudIE, SoundcloudSetIE, SoundcloudUserIE
132 from .southparkstudios import (
133     SouthParkStudiosIE,
134     SouthparkDeIE,
135 )
136 from .space import SpaceIE
137 from .spankwire import SpankwireIE
138 from .spiegel import SpiegelIE
139 from .stanfordoc import StanfordOpenClassroomIE
140 from .statigram import StatigramIE
141 from .steam import SteamIE
142 from .streamcloud import StreamcloudIE
143 from .sztvhu import SztvHuIE
144 from .teamcoco import TeamcocoIE
145 from .techtalks import TechTalksIE
146 from .ted import TEDIE
147 from .tf1 import TF1IE
148 from .theplatform import ThePlatformIE
149 from .thisav import ThisAVIE
150 from .toutv import TouTvIE
151 from .traileraddict import TrailerAddictIE
152 from .trilulilu import TriluliluIE
153 from .tube8 import Tube8IE
154 from .tudou import TudouIE
155 from .tumblr import TumblrIE
156 from .tutv import TutvIE
157 from .tvp import TvpIE
158 from .unistra import UnistraIE
159 from .ustream import UstreamIE, UstreamChannelIE
160 from .vbox7 import Vbox7IE
161 from .veehd import VeeHDIE
162 from .veoh import VeohIE
163 from .vevo import VevoIE
164 from .vice import ViceIE
165 from .viddler import ViddlerIE
166 from .videodetective import VideoDetectiveIE
167 from .videofyme import VideofyMeIE
168 from .videopremium import VideoPremiumIE
169 from .vimeo import (
170     VimeoIE,
171     VimeoChannelIE,
172     VimeoUserIE,
173     VimeoAlbumIE,
174 )
175 from .vine import VineIE
176 from .viki import VikiIE
177 from .vk import VKIE
178 from .wat import WatIE
179 from .websurg import WeBSurgIE
180 from .weibo import WeiboIE
181 from .wimp import WimpIE
182 from .wistia import WistiaIE
183 from .worldstarhiphop import WorldStarHipHopIE
184 from .xhamster import XHamsterIE
185 from .xnxx import XNXXIE
186 from .xvideos import XVideosIE
187 from .xtube import XTubeIE
188 from .yahoo import (
189     YahooIE,
190     YahooNewsIE,
191     YahooSearchIE,
192 )
193 from .youjizz import YouJizzIE
194 from .youku import YoukuIE
195 from .youporn import YouPornIE
196 from .youtube import (
197     YoutubeIE,
198     YoutubePlaylistIE,
199     YoutubeSearchIE,
200     YoutubeSearchDateIE,
201     YoutubeUserIE,
202     YoutubeChannelIE,
203     YoutubeShowIE,
204     YoutubeSubscriptionsIE,
205     YoutubeRecommendedIE,
206     YoutubeTruncatedURLIE,
207     YoutubeWatchLaterIE,
208     YoutubeFavouritesIE,
209     YoutubeHistoryIE,
210 )
211 from .zdf import ZDFIE
212
213
214 _ALL_CLASSES = [
215     klass
216     for name, klass in globals().items()
217     if name.endswith('IE') and name != 'GenericIE'
218 ]
219 _ALL_CLASSES.append(GenericIE)
220
221
222 def gen_extractors():
223     """ Return a list of an instance of every supported extractor.
224     The order does matter; the first extractor matched is the one handling the URL.
225     """
226     return [klass() for klass in _ALL_CLASSES]
227
228
229 def get_info_extractor(ie_name):
230     """Returns the info extractor class with the given ie_name"""
231     return globals()[ie_name+'IE']