You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

670 lines
18 KiB

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