__init__.py 17 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636
  1. from __future__ import unicode_literals
  2. from .abc import ABCIE
  3. from .abc7news import Abc7NewsIE
  4. from .academicearth import AcademicEarthCourseIE
  5. from .addanime import AddAnimeIE
  6. from .adobetv import AdobeTVIE
  7. from .adultswim import AdultSwimIE
  8. from .aftenposten import AftenpostenIE
  9. from .aftonbladet import AftonbladetIE
  10. from .aljazeera import AlJazeeraIE
  11. from .alphaporno import AlphaPornoIE
  12. from .anitube import AnitubeIE
  13. from .anysex import AnySexIE
  14. from .aol import AolIE
  15. from .allocine import AllocineIE
  16. from .aparat import AparatIE
  17. from .appletrailers import AppleTrailersIE
  18. from .archiveorg import ArchiveOrgIE
  19. from .ard import ARDIE, ARDMediathekIE
  20. from .arte import (
  21. ArteTvIE,
  22. ArteTVPlus7IE,
  23. ArteTVCreativeIE,
  24. ArteTVConcertIE,
  25. ArteTVFutureIE,
  26. ArteTVDDCIE,
  27. ArteTVEmbedIE,
  28. )
  29. from .atresplayer import AtresPlayerIE
  30. from .atttechchannel import ATTTechChannelIE
  31. from .audiomack import AudiomackIE, AudiomackAlbumIE
  32. from .azubu import AzubuIE
  33. from .bambuser import BambuserIE, BambuserChannelIE
  34. from .bandcamp import BandcampIE, BandcampAlbumIE
  35. from .bbccouk import BBCCoUkIE
  36. from .beeg import BeegIE
  37. from .behindkink import BehindKinkIE
  38. from .bet import BetIE
  39. from .bild import BildIE
  40. from .bilibili import BiliBiliIE
  41. from .blinkx import BlinkxIE
  42. from .bliptv import BlipTVIE, BlipTVUserIE
  43. from .bloomberg import BloombergIE
  44. from .bpb import BpbIE
  45. from .br import BRIE
  46. from .breakcom import BreakIE
  47. from .brightcove import BrightcoveIE
  48. from .buzzfeed import BuzzFeedIE
  49. from .byutv import BYUtvIE
  50. from .c56 import C56IE
  51. from .camdemy import (
  52. CamdemyIE,
  53. CamdemyFolderIE
  54. )
  55. from .canal13cl import Canal13clIE
  56. from .canalplus import CanalplusIE
  57. from .canalc2 import Canalc2IE
  58. from .cbs import CBSIE
  59. from .cbsnews import CBSNewsIE
  60. from .ccc import CCCIE
  61. from .ceskatelevize import CeskaTelevizeIE
  62. from .channel9 import Channel9IE
  63. from .chilloutzone import ChilloutzoneIE
  64. from .cinchcast import CinchcastIE
  65. from .clipfish import ClipfishIE
  66. from .cliphunter import CliphunterIE
  67. from .clipsyndicate import ClipsyndicateIE
  68. from .cloudy import CloudyIE
  69. from .clubic import ClubicIE
  70. from .cmt import CMTIE
  71. from .cnet import CNETIE
  72. from .cnn import (
  73. CNNIE,
  74. CNNBlogsIE,
  75. CNNArticleIE,
  76. )
  77. from .collegehumor import CollegeHumorIE
  78. from .collegerama import CollegeRamaIE
  79. from .comedycentral import ComedyCentralIE, ComedyCentralShowsIE
  80. from .comcarcoff import ComCarCoffIE
  81. from .commonmistakes import CommonMistakesIE, UnicodeBOMIE
  82. from .condenast import CondeNastIE
  83. from .cracked import CrackedIE
  84. from .criterion import CriterionIE
  85. from .crunchyroll import (
  86. CrunchyrollIE,
  87. CrunchyrollShowPlaylistIE
  88. )
  89. from .cspan import CSpanIE
  90. from .ctsnews import CtsNewsIE
  91. from .dailymotion import (
  92. DailymotionIE,
  93. DailymotionPlaylistIE,
  94. DailymotionUserIE,
  95. )
  96. from .daum import DaumIE
  97. from .dbtv import DBTVIE
  98. from .dctp import DctpTvIE
  99. from .deezer import DeezerPlaylistIE
  100. from .dfb import DFBIE
  101. from .dotsub import DotsubIE
  102. from .dreisat import DreiSatIE
  103. from .drbonanza import DRBonanzaIE
  104. from .drtuber import DrTuberIE
  105. from .drtv import DRTVIE
  106. from .dvtv import DVTVIE
  107. from .dump import DumpIE
  108. from .defense import DefenseGouvFrIE
  109. from .discovery import DiscoveryIE
  110. from .divxstage import DivxStageIE
  111. from .dropbox import DropboxIE
  112. from .ebaumsworld import EbaumsWorldIE
  113. from .echomsk import EchoMskIE
  114. from .ehow import EHowIE
  115. from .eighttracks import EightTracksIE
  116. from .einthusan import EinthusanIE
  117. from .eitb import EitbIE
  118. from .ellentv import (
  119. EllenTVIE,
  120. EllenTVClipsIE,
  121. )
  122. from .elpais import ElPaisIE
  123. from .empflix import EMPFlixIE
  124. from .engadget import EngadgetIE
  125. from .eporner import EpornerIE
  126. from .eroprofile import EroProfileIE
  127. from .escapist import EscapistIE
  128. from .everyonesmixtape import EveryonesMixtapeIE
  129. from .exfm import ExfmIE
  130. from .expotv import ExpoTVIE
  131. from .extremetube import ExtremeTubeIE
  132. from .facebook import FacebookIE
  133. from .faz import FazIE
  134. from .fc2 import FC2IE
  135. from .firedrive import FiredriveIE
  136. from .firstpost import FirstpostIE
  137. from .firsttv import FirstTVIE
  138. from .fivemin import FiveMinIE
  139. from .fktv import (
  140. FKTVIE,
  141. FKTVPosteckeIE,
  142. )
  143. from .flickr import FlickrIE
  144. from .folketinget import FolketingetIE
  145. from .fourtube import FourTubeIE
  146. from .foxgay import FoxgayIE
  147. from .foxnews import FoxNewsIE
  148. from .franceculture import FranceCultureIE
  149. from .franceinter import FranceInterIE
  150. from .francetv import (
  151. PluzzIE,
  152. FranceTvInfoIE,
  153. FranceTVIE,
  154. GenerationQuoiIE,
  155. CultureboxIE,
  156. )
  157. from .freesound import FreesoundIE
  158. from .freespeech import FreespeechIE
  159. from .freevideo import FreeVideoIE
  160. from .funnyordie import FunnyOrDieIE
  161. from .gamekings import GamekingsIE
  162. from .gameone import (
  163. GameOneIE,
  164. GameOnePlaylistIE,
  165. )
  166. from .gamespot import GameSpotIE
  167. from .gamestar import GameStarIE
  168. from .gametrailers import GametrailersIE
  169. from .gdcvault import GDCVaultIE
  170. from .generic import GenericIE
  171. from .giantbomb import GiantBombIE
  172. from .giga import GigaIE
  173. from .glide import GlideIE
  174. from .globo import GloboIE
  175. from .godtube import GodTubeIE
  176. from .goldenmoustache import GoldenMoustacheIE
  177. from .golem import GolemIE
  178. from .googleplus import GooglePlusIE
  179. from .googlesearch import GoogleSearchIE
  180. from .gorillavid import GorillaVidIE
  181. from .goshgay import GoshgayIE
  182. from .grooveshark import GroovesharkIE
  183. from .groupon import GrouponIE
  184. from .hark import HarkIE
  185. from .hearthisat import HearThisAtIE
  186. from .heise import HeiseIE
  187. from .hellporno import HellPornoIE
  188. from .helsinki import HelsinkiIE
  189. from .hentaistigma import HentaiStigmaIE
  190. from .historicfilms import HistoricFilmsIE
  191. from .hitbox import HitboxIE, HitboxLiveIE
  192. from .hornbunny import HornBunnyIE
  193. from .hostingbulk import HostingBulkIE
  194. from .hotnewhiphop import HotNewHipHopIE
  195. from .howcast import HowcastIE
  196. from .howstuffworks import HowStuffWorksIE
  197. from .huffpost import HuffPostIE
  198. from .hypem import HypemIE
  199. from .iconosquare import IconosquareIE
  200. from .ign import IGNIE, OneUPIE
  201. from .imdb import (
  202. ImdbIE,
  203. ImdbListIE
  204. )
  205. from .ina import InaIE
  206. from .infoq import InfoQIE
  207. from .instagram import InstagramIE, InstagramUserIE
  208. from .internetvideoarchive import InternetVideoArchiveIE
  209. from .iprima import IPrimaIE
  210. from .ivi import (
  211. IviIE,
  212. IviCompilationIE
  213. )
  214. from .izlesene import IzleseneIE
  215. from .jadorecettepub import JadoreCettePubIE
  216. from .jeuxvideo import JeuxVideoIE
  217. from .jove import JoveIE
  218. from .jukebox import JukeboxIE
  219. from .jpopsukitv import JpopsukiIE
  220. from .kankan import KankanIE
  221. from .karaoketv import KaraoketvIE
  222. from .keezmovies import KeezMoviesIE
  223. from .khanacademy import KhanAcademyIE
  224. from .kickstarter import KickStarterIE
  225. from .keek import KeekIE
  226. from .kontrtube import KontrTubeIE
  227. from .krasview import KrasViewIE
  228. from .ku6 import Ku6IE
  229. from .la7 import LA7IE
  230. from .laola1tv import Laola1TvIE
  231. from .lifenews import LifeNewsIE
  232. from .liveleak import LiveLeakIE
  233. from .livestream import (
  234. LivestreamIE,
  235. LivestreamOriginalIE,
  236. LivestreamShortenerIE,
  237. )
  238. from .lnkgo import LnkGoIE
  239. from .lrt import LRTIE
  240. from .lynda import (
  241. LyndaIE,
  242. LyndaCourseIE
  243. )
  244. from .m6 import M6IE
  245. from .macgamestore import MacGameStoreIE
  246. from .mailru import MailRuIE
  247. from .malemotion import MalemotionIE
  248. from .mdr import MDRIE
  249. from .metacafe import MetacafeIE
  250. from .metacritic import MetacriticIE
  251. from .mgoon import MgoonIE
  252. from .minhateca import MinhatecaIE
  253. from .ministrygrid import MinistryGridIE
  254. from .mit import TechTVMITIE, MITIE, OCWMITIE
  255. from .mitele import MiTeleIE
  256. from .mixcloud import MixcloudIE
  257. from .mlb import MLBIE
  258. from .mpora import MporaIE
  259. from .moevideo import MoeVideoIE
  260. from .mofosex import MofosexIE
  261. from .mojvideo import MojvideoIE
  262. from .moniker import MonikerIE
  263. from .mooshare import MooshareIE
  264. from .morningstar import MorningstarIE
  265. from .motherless import MotherlessIE
  266. from .motorsport import MotorsportIE
  267. from .movieclips import MovieClipsIE
  268. from .moviezine import MoviezineIE
  269. from .movshare import MovShareIE
  270. from .mtv import (
  271. MTVIE,
  272. MTVServicesEmbeddedIE,
  273. MTVIggyIE,
  274. )
  275. from .muenchentv import MuenchenTVIE
  276. from .musicplayon import MusicPlayOnIE
  277. from .musicvault import MusicVaultIE
  278. from .muzu import MuzuTVIE
  279. from .myspace import MySpaceIE, MySpaceAlbumIE
  280. from .myspass import MySpassIE
  281. from .myvideo import MyVideoIE
  282. from .myvidster import MyVidsterIE
  283. from .naver import NaverIE
  284. from .nba import NBAIE
  285. from .nbc import (
  286. NBCIE,
  287. NBCNewsIE,
  288. )
  289. from .ndr import NDRIE
  290. from .ndtv import NDTVIE
  291. from .netzkino import NetzkinoIE
  292. from .nerdcubed import NerdCubedFeedIE
  293. from .nerdist import NerdistIE
  294. from .newgrounds import NewgroundsIE
  295. from .newstube import NewstubeIE
  296. from .nextmedia import (
  297. NextMediaIE,
  298. NextMediaActionNewsIE,
  299. AppleDailyRealtimeNewsIE,
  300. AppleDailyAnimationNewsIE
  301. )
  302. from .nfb import NFBIE
  303. from .nfl import NFLIE
  304. from .nhl import (
  305. NHLIE,
  306. NHLNewsIE,
  307. NHLVideocenterIE,
  308. )
  309. from .niconico import NiconicoIE, NiconicoPlaylistIE
  310. from .ninegag import NineGagIE
  311. from .noco import NocoIE
  312. from .normalboots import NormalbootsIE
  313. from .nosvideo import NosVideoIE
  314. from .novamov import NovaMovIE
  315. from .nowness import NownessIE
  316. from .nowvideo import NowVideoIE
  317. from .npo import (
  318. NPOIE,
  319. NPOLiveIE,
  320. TegenlichtVproIE,
  321. )
  322. from .nrk import (
  323. NRKIE,
  324. NRKTVIE,
  325. )
  326. from .ntvde import NTVDeIE
  327. from .ntvru import NTVRuIE
  328. from .nytimes import NYTimesIE
  329. from .nuvid import NuvidIE
  330. from .oktoberfesttv import OktoberfestTVIE
  331. from .ooyala import OoyalaIE
  332. from .openfilm import OpenFilmIE
  333. from .orf import (
  334. ORFTVthekIE,
  335. ORFOE1IE,
  336. ORFFM4IE,
  337. )
  338. from .parliamentliveuk import ParliamentLiveUKIE
  339. from .patreon import PatreonIE
  340. from .pbs import PBSIE
  341. from .phoenix import PhoenixIE
  342. from .photobucket import PhotobucketIE
  343. from .planetaplay import PlanetaPlayIE
  344. from .played import PlayedIE
  345. from .playfm import PlayFMIE
  346. from .playvid import PlayvidIE
  347. from .podomatic import PodomaticIE
  348. from .pornhd import PornHdIE
  349. from .pornhub import PornHubIE
  350. from .pornotube import PornotubeIE
  351. from .pornoxo import PornoXOIE
  352. from .promptfile import PromptFileIE
  353. from .prosiebensat1 import ProSiebenSat1IE
  354. from .pyvideo import PyvideoIE
  355. from .quickvid import QuickVidIE
  356. from .radiode import RadioDeIE
  357. from .radiobremen import RadioBremenIE
  358. from .radiofrance import RadioFranceIE
  359. from .rai import RaiIE
  360. from .rbmaradio import RBMARadioIE
  361. from .redtube import RedTubeIE
  362. from .restudy import RestudyIE
  363. from .reverbnation import ReverbNationIE
  364. from .ringtv import RingTVIE
  365. from .ro220 import Ro220IE
  366. from .rottentomatoes import RottenTomatoesIE
  367. from .roxwel import RoxwelIE
  368. from .rtbf import RTBFIE
  369. from .rte import RteIE
  370. from .rtlnl import RtlXlIE
  371. from .rtlnow import RTLnowIE
  372. from .rtl2 import RTL2IE
  373. from .rtp import RTPIE
  374. from .rts import RTSIE
  375. from .rtve import RTVEALaCartaIE, RTVELiveIE
  376. from .ruhd import RUHDIE
  377. from .rutube import (
  378. RutubeIE,
  379. RutubeChannelIE,
  380. RutubeEmbedIE,
  381. RutubeMovieIE,
  382. RutubePersonIE,
  383. )
  384. from .rutv import RUTVIE
  385. from .sapo import SapoIE
  386. from .savefrom import SaveFromIE
  387. from .sbs import SBSIE
  388. from .scivee import SciVeeIE
  389. from .screencast import ScreencastIE
  390. from .screencastomatic import ScreencastOMaticIE
  391. from .screenwavemedia import CinemassacreIE, ScreenwaveMediaIE, TeamFourIE
  392. from .servingsys import ServingSysIE
  393. from .sexu import SexuIE
  394. from .sexykarma import SexyKarmaIE
  395. from .shared import SharedIE
  396. from .sharesix import ShareSixIE
  397. from .sina import SinaIE
  398. from .slideshare import SlideshareIE
  399. from .slutload import SlutloadIE
  400. from .smotri import (
  401. SmotriIE,
  402. SmotriCommunityIE,
  403. SmotriUserIE,
  404. SmotriBroadcastIE,
  405. )
  406. from .snotr import SnotrIE
  407. from .sockshare import SockshareIE
  408. from .sohu import SohuIE
  409. from .soundcloud import (
  410. SoundcloudIE,
  411. SoundcloudSetIE,
  412. SoundcloudUserIE,
  413. SoundcloudPlaylistIE
  414. )
  415. from .soundgasm import SoundgasmIE
  416. from .southpark import (
  417. SouthParkIE,
  418. SouthparkDeIE,
  419. )
  420. from .space import SpaceIE
  421. from .spankwire import SpankwireIE
  422. from .spiegel import SpiegelIE, SpiegelArticleIE
  423. from .spiegeltv import SpiegeltvIE
  424. from .spike import SpikeIE
  425. from .sport5 import Sport5IE
  426. from .sportbox import SportBoxIE
  427. from .sportdeutschland import SportDeutschlandIE
  428. from .srmediathek import SRMediathekIE
  429. from .stanfordoc import StanfordOpenClassroomIE
  430. from .steam import SteamIE
  431. from .streamcloud import StreamcloudIE
  432. from .streamcz import StreamCZIE
  433. from .streetvoice import StreetVoiceIE
  434. from .sunporno import SunPornoIE
  435. from .svtplay import SVTPlayIE
  436. from .swrmediathek import SWRMediathekIE
  437. from .syfy import SyfyIE
  438. from .sztvhu import SztvHuIE
  439. from .tagesschau import TagesschauIE
  440. from .tapely import TapelyIE
  441. from .tass import TassIE
  442. from .teachertube import (
  443. TeacherTubeIE,
  444. TeacherTubeUserIE,
  445. )
  446. from .teachingchannel import TeachingChannelIE
  447. from .teamcoco import TeamcocoIE
  448. from .techtalks import TechTalksIE
  449. from .ted import TEDIE
  450. from .telebruxelles import TeleBruxellesIE
  451. from .telecinco import TelecincoIE
  452. from .telemb import TeleMBIE
  453. from .teletask import TeleTaskIE
  454. from .tenplay import TenPlayIE
  455. from .testurl import TestURLIE
  456. from .testtube import TestTubeIE
  457. from .tf1 import TF1IE
  458. from .theonion import TheOnionIE
  459. from .theplatform import ThePlatformIE
  460. from .thesixtyone import TheSixtyOneIE
  461. from .thisav import ThisAVIE
  462. from .tinypic import TinyPicIE
  463. from .tlc import TlcIE, TlcDeIE
  464. from .tmz import TMZIE
  465. from .tnaflix import TNAFlixIE
  466. from .thvideo import (
  467. THVideoIE,
  468. THVideoPlaylistIE
  469. )
  470. from .toutv import TouTvIE
  471. from .toypics import ToypicsUserIE, ToypicsIE
  472. from .traileraddict import TrailerAddictIE
  473. from .trilulilu import TriluliluIE
  474. from .trutube import TruTubeIE
  475. from .tube8 import Tube8IE
  476. from .tudou import TudouIE
  477. from .tumblr import TumblrIE
  478. from .tunein import TuneInIE
  479. from .turbo import TurboIE
  480. from .tutv import TutvIE
  481. from .tvigle import TvigleIE
  482. from .tvp import TvpIE, TvpSeriesIE
  483. from .tvplay import TVPlayIE
  484. from .tweakers import TweakersIE
  485. from .twentyfourvideo import TwentyFourVideoIE
  486. from .twitch import (
  487. TwitchVideoIE,
  488. TwitchChapterIE,
  489. TwitchVodIE,
  490. TwitchProfileIE,
  491. TwitchPastBroadcastsIE,
  492. TwitchBookmarksIE,
  493. TwitchStreamIE,
  494. )
  495. from .ubu import UbuIE
  496. from .udemy import (
  497. UdemyIE,
  498. UdemyCourseIE
  499. )
  500. from .unistra import UnistraIE
  501. from .urort import UrortIE
  502. from .ustream import UstreamIE, UstreamChannelIE
  503. from .vbox7 import Vbox7IE
  504. from .veehd import VeeHDIE
  505. from .veoh import VeohIE
  506. from .vesti import VestiIE
  507. from .vevo import VevoIE
  508. from .vgtv import VGTVIE
  509. from .vh1 import VH1IE
  510. from .vice import ViceIE
  511. from .viddler import ViddlerIE
  512. from .videobam import VideoBamIE
  513. from .videodetective import VideoDetectiveIE
  514. from .videolecturesnet import VideoLecturesNetIE
  515. from .videofyme import VideofyMeIE
  516. from .videomega import VideoMegaIE
  517. from .videopremium import VideoPremiumIE
  518. from .videott import VideoTtIE
  519. from .videoweed import VideoWeedIE
  520. from .vidme import VidmeIE
  521. from .vidzi import VidziIE
  522. from .vier import VierIE, VierVideosIE
  523. from .vimeo import (
  524. VimeoIE,
  525. VimeoAlbumIE,
  526. VimeoChannelIE,
  527. VimeoGroupsIE,
  528. VimeoLikesIE,
  529. VimeoReviewIE,
  530. VimeoUserIE,
  531. VimeoWatchLaterIE,
  532. )
  533. from .vimple import VimpleIE
  534. from .vine import (
  535. VineIE,
  536. VineUserIE,
  537. )
  538. from .viki import VikiIE
  539. from .vk import (
  540. VKIE,
  541. VKUserVideosIE,
  542. )
  543. from .vodlocker import VodlockerIE
  544. from .vporn import VpornIE
  545. from .vrt import VRTIE
  546. from .vube import VubeIE
  547. from .vuclip import VuClipIE
  548. from .vulture import VultureIE
  549. from .walla import WallaIE
  550. from .washingtonpost import WashingtonPostIE
  551. from .wat import WatIE
  552. from .wayofthemaster import WayOfTheMasterIE
  553. from .wdr import (
  554. WDRIE,
  555. WDRMobileIE,
  556. WDRMausIE,
  557. )
  558. from .webofstories import WebOfStoriesIE
  559. from .weibo import WeiboIE
  560. from .wimp import WimpIE
  561. from .wistia import WistiaIE
  562. from .worldstarhiphop import WorldStarHipHopIE
  563. from .wrzuta import WrzutaIE
  564. from .wsj import WSJIE
  565. from .xbef import XBefIE
  566. from .xboxclips import XboxClipsIE
  567. from .xhamster import XHamsterIE
  568. from .xminus import XMinusIE
  569. from .xnxx import XNXXIE
  570. from .xvideos import XVideosIE
  571. from .xtube import XTubeUserIE, XTubeIE
  572. from .xuite import XuiteIE
  573. from .xxxymovies import XXXYMoviesIE
  574. from .yahoo import (
  575. YahooIE,
  576. YahooSearchIE,
  577. )
  578. from .yesjapan import YesJapanIE
  579. from .ynet import YnetIE
  580. from .youjizz import YouJizzIE
  581. from .youku import YoukuIE
  582. from .youporn import YouPornIE
  583. from .yourupload import YourUploadIE
  584. from .youtube import (
  585. YoutubeIE,
  586. YoutubeChannelIE,
  587. YoutubeFavouritesIE,
  588. YoutubeHistoryIE,
  589. YoutubePlaylistIE,
  590. YoutubeRecommendedIE,
  591. YoutubeSearchDateIE,
  592. YoutubeSearchIE,
  593. YoutubeSearchURLIE,
  594. YoutubeShowIE,
  595. YoutubeSubscriptionsIE,
  596. YoutubeTruncatedIDIE,
  597. YoutubeTruncatedURLIE,
  598. YoutubeUserIE,
  599. YoutubeWatchLaterIE,
  600. )
  601. from .zdf import ZDFIE, ZDFChannelIE
  602. from .zingmp3 import (
  603. ZingMp3SongIE,
  604. ZingMp3AlbumIE,
  605. )
  606. _ALL_CLASSES = [
  607. klass
  608. for name, klass in globals().items()
  609. if name.endswith('IE') and name != 'GenericIE'
  610. ]
  611. _ALL_CLASSES.append(GenericIE)
  612. def gen_extractors():
  613. """ Return a list of an instance of every supported extractor.
  614. The order does matter; the first extractor matched is the one handling the URL.
  615. """
  616. return [klass() for klass in _ALL_CLASSES]
  617. def list_extractors(age_limit):
  618. """
  619. Return a list of extractors that are suitable for the given age,
  620. sorted by extractor ID.
  621. """
  622. return sorted(
  623. filter(lambda ie: ie.is_suitable(age_limit), gen_extractors()),
  624. key=lambda ie: ie.IE_NAME.lower())
  625. def get_info_extractor(ie_name):
  626. """Returns the info extractor class with the given ie_name"""
  627. return globals()[ie_name + 'IE']