__init__.py 12 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458
  1. from .abc import ABCIE
  2. from .academicearth import AcademicEarthCourseIE
  3. from .addanime import AddAnimeIE
  4. from .adultswim import AdultSwimIE
  5. from .aftonbladet import AftonbladetIE
  6. from .anitube import AnitubeIE
  7. from .aol import AolIE
  8. from .allocine import AllocineIE
  9. from .aparat import AparatIE
  10. from .appletrailers import AppleTrailersIE
  11. from .archiveorg import ArchiveOrgIE
  12. from .ard import ARDIE
  13. from .arte import (
  14. ArteTvIE,
  15. ArteTVPlus7IE,
  16. ArteTVCreativeIE,
  17. ArteTVConcertIE,
  18. ArteTVFutureIE,
  19. ArteTVDDCIE,
  20. ArteTVEmbedIE,
  21. )
  22. from .auengine import AUEngineIE
  23. from .bambuser import BambuserIE, BambuserChannelIE
  24. from .bandcamp import BandcampIE, BandcampAlbumIE
  25. from .bbccouk import BBCCoUkIE
  26. from .bilibili import BiliBiliIE
  27. from .blinkx import BlinkxIE
  28. from .bliptv import BlipTVIE, BlipTVUserIE
  29. from .bloomberg import BloombergIE
  30. from .br import BRIE
  31. from .breakcom import BreakIE
  32. from .brightcove import BrightcoveIE
  33. from .byutv import BYUtvIE
  34. from .c56 import C56IE
  35. from .canal13cl import Canal13clIE
  36. from .canalplus import CanalplusIE
  37. from .canalc2 import Canalc2IE
  38. from .cbs import CBSIE
  39. from .cbsnews import CBSNewsIE
  40. from .ceskatelevize import CeskaTelevizeIE
  41. from .channel9 import Channel9IE
  42. from .chilloutzone import ChilloutzoneIE
  43. from .cinemassacre import CinemassacreIE
  44. from .clipfish import ClipfishIE
  45. from .cliphunter import CliphunterIE
  46. from .clipsyndicate import ClipsyndicateIE
  47. from .clubic import ClubicIE
  48. from .cmt import CMTIE
  49. from .cnet import CNETIE
  50. from .cnn import (
  51. CNNIE,
  52. CNNBlogsIE,
  53. )
  54. from .collegehumor import CollegeHumorIE
  55. from .comedycentral import ComedyCentralIE, ComedyCentralShowsIE
  56. from .condenast import CondeNastIE
  57. from .cracked import CrackedIE
  58. from .criterion import CriterionIE
  59. from .crunchyroll import CrunchyrollIE
  60. from .cspan import CSpanIE
  61. from .d8 import D8IE
  62. from .dailymotion import (
  63. DailymotionIE,
  64. DailymotionPlaylistIE,
  65. DailymotionUserIE,
  66. )
  67. from .daum import DaumIE
  68. from .dfb import DFBIE
  69. from .dotsub import DotsubIE
  70. from .dreisat import DreiSatIE
  71. from .drtv import DRTVIE
  72. from .dump import DumpIE
  73. from .defense import DefenseGouvFrIE
  74. from .discovery import DiscoveryIE
  75. from .divxstage import DivxStageIE
  76. from .dropbox import DropboxIE
  77. from .ebaumsworld import EbaumsWorldIE
  78. from .ehow import EHowIE
  79. from .eighttracks import EightTracksIE
  80. from .eitb import EitbIE
  81. from .ellentv import (
  82. EllenTVIE,
  83. EllenTVClipsIE,
  84. )
  85. from .elpais import ElPaisIE
  86. from .empflix import EmpflixIE
  87. from .engadget import EngadgetIE
  88. from .escapist import EscapistIE
  89. from .everyonesmixtape import EveryonesMixtapeIE
  90. from .exfm import ExfmIE
  91. from .expotv import ExpoTVIE
  92. from .extremetube import ExtremeTubeIE
  93. from .facebook import FacebookIE
  94. from .faz import FazIE
  95. from .fc2 import FC2IE
  96. from .firedrive import FiredriveIE
  97. from .firstpost import FirstpostIE
  98. from .firsttv import FirstTVIE
  99. from .fivemin import FiveMinIE
  100. from .fktv import (
  101. FKTVIE,
  102. FKTVPosteckeIE,
  103. )
  104. from .flickr import FlickrIE
  105. from .fourtube import FourTubeIE
  106. from .franceculture import FranceCultureIE
  107. from .franceinter import FranceInterIE
  108. from .francetv import (
  109. PluzzIE,
  110. FranceTvInfoIE,
  111. FranceTVIE,
  112. GenerationQuoiIE,
  113. CultureboxIE,
  114. )
  115. from .freesound import FreesoundIE
  116. from .freespeech import FreespeechIE
  117. from .funnyordie import FunnyOrDieIE
  118. from .gamekings import GamekingsIE
  119. from .gameone import GameOneIE
  120. from .gamespot import GameSpotIE
  121. from .gamestar import GameStarIE
  122. from .gametrailers import GametrailersIE
  123. from .gdcvault import GDCVaultIE
  124. from .generic import GenericIE
  125. from .godtube import GodTubeIE
  126. from .googleplus import GooglePlusIE
  127. from .googlesearch import GoogleSearchIE
  128. from .gorillavid import GorillaVidIE
  129. from .goshgay import GoshgayIE
  130. from .grooveshark import GroovesharkIE
  131. from .hark import HarkIE
  132. from .helsinki import HelsinkiIE
  133. from .hentaistigma import HentaiStigmaIE
  134. from .hotnewhiphop import HotNewHipHopIE
  135. from .howcast import HowcastIE
  136. from .howstuffworks import HowStuffWorksIE
  137. from .huffpost import HuffPostIE
  138. from .hypem import HypemIE
  139. from .iconosquare import IconosquareIE
  140. from .ign import IGNIE, OneUPIE
  141. from .imdb import (
  142. ImdbIE,
  143. ImdbListIE
  144. )
  145. from .ina import InaIE
  146. from .infoq import InfoQIE
  147. from .instagram import InstagramIE, InstagramUserIE
  148. from .internetvideoarchive import InternetVideoArchiveIE
  149. from .iprima import IPrimaIE
  150. from .ivi import (
  151. IviIE,
  152. IviCompilationIE
  153. )
  154. from .izlesene import IzleseneIE
  155. from .jadorecettepub import JadoreCettePubIE
  156. from .jeuxvideo import JeuxVideoIE
  157. from .jove import JoveIE
  158. from .jukebox import JukeboxIE
  159. from .justintv import JustinTVIE
  160. from .jpopsukitv import JpopsukiIE
  161. from .kankan import KankanIE
  162. from .keezmovies import KeezMoviesIE
  163. from .khanacademy import KhanAcademyIE
  164. from .kickstarter import KickStarterIE
  165. from .keek import KeekIE
  166. from .kontrtube import KontrTubeIE
  167. from .krasview import KrasViewIE
  168. from .ku6 import Ku6IE
  169. from .la7 import LA7IE
  170. from .lifenews import LifeNewsIE
  171. from .liveleak import LiveLeakIE
  172. from .livestream import (
  173. LivestreamIE,
  174. LivestreamOriginalIE,
  175. LivestreamShortenerIE,
  176. )
  177. from .lynda import (
  178. LyndaIE,
  179. LyndaCourseIE
  180. )
  181. from .m6 import M6IE
  182. from .macgamestore import MacGameStoreIE
  183. from .mailru import MailRuIE
  184. from .malemotion import MalemotionIE
  185. from .mdr import MDRIE
  186. from .metacafe import MetacafeIE
  187. from .metacritic import MetacriticIE
  188. from .ministrygrid import MinistryGridIE
  189. from .mit import TechTVMITIE, MITIE, OCWMITIE
  190. from .mitele import MiTeleIE
  191. from .mixcloud import MixcloudIE
  192. from .mlb import MLBIE
  193. from .mpora import MporaIE
  194. from .mofosex import MofosexIE
  195. from .mojvideo import MojvideoIE
  196. from .mooshare import MooshareIE
  197. from .morningstar import MorningstarIE
  198. from .motherless import MotherlessIE
  199. from .motorsport import MotorsportIE
  200. from .movieclips import MovieClipsIE
  201. from .moviezine import MoviezineIE
  202. from .movshare import MovShareIE
  203. from .mtv import (
  204. MTVIE,
  205. MTVServicesEmbeddedIE,
  206. MTVIggyIE,
  207. )
  208. from .musicplayon import MusicPlayOnIE
  209. from .muzu import MuzuTVIE
  210. from .myspace import MySpaceIE
  211. from .myspass import MySpassIE
  212. from .myvideo import MyVideoIE
  213. from .naver import NaverIE
  214. from .nba import NBAIE
  215. from .nbc import (
  216. NBCIE,
  217. NBCNewsIE,
  218. )
  219. from .ndr import NDRIE
  220. from .ndtv import NDTVIE
  221. from .newgrounds import NewgroundsIE
  222. from .newstube import NewstubeIE
  223. from .nfb import NFBIE
  224. from .nhl import NHLIE, NHLVideocenterIE
  225. from .niconico import NiconicoIE
  226. from .ninegag import NineGagIE
  227. from .noco import NocoIE
  228. from .normalboots import NormalbootsIE
  229. from .novamov import NovaMovIE
  230. from .nowness import NownessIE
  231. from .nowvideo import NowVideoIE
  232. from .npo import NPOIE
  233. from .nrk import (
  234. NRKIE,
  235. NRKTVIE,
  236. )
  237. from .ntv import NTVIE
  238. from .nytimes import NYTimesIE
  239. from .nuvid import NuvidIE
  240. from .ooyala import OoyalaIE
  241. from .orf import (
  242. ORFTVthekIE,
  243. ORFOE1IE,
  244. ORFFM4IE,
  245. )
  246. from .parliamentliveuk import ParliamentLiveUKIE
  247. from .patreon import PatreonIE
  248. from .pbs import PBSIE
  249. from .photobucket import PhotobucketIE
  250. from .playfm import PlayFMIE
  251. from .playvid import PlayvidIE
  252. from .podomatic import PodomaticIE
  253. from .pornhd import PornHdIE
  254. from .pornhub import PornHubIE
  255. from .pornotube import PornotubeIE
  256. from .prosiebensat1 import ProSiebenSat1IE
  257. from .pyvideo import PyvideoIE
  258. from .radiofrance import RadioFranceIE
  259. from .rai import RaiIE
  260. from .rbmaradio import RBMARadioIE
  261. from .redtube import RedTubeIE
  262. from .reverbnation import ReverbNationIE
  263. from .ringtv import RingTVIE
  264. from .ro220 import Ro220IE
  265. from .rottentomatoes import RottenTomatoesIE
  266. from .roxwel import RoxwelIE
  267. from .rtbf import RTBFIE
  268. from .rtlnl import RtlXlIE
  269. from .rtlnow import RTLnowIE
  270. from .rts import RTSIE
  271. from .rtve import RTVEALaCartaIE, RTVELiveIE
  272. from .ruhd import RUHDIE
  273. from .rutube import (
  274. RutubeIE,
  275. RutubeChannelIE,
  276. RutubeMovieIE,
  277. RutubePersonIE,
  278. )
  279. from .rutv import RUTVIE
  280. from .sapo import SapoIE
  281. from .savefrom import SaveFromIE
  282. from .sbs import SBSIE
  283. from .scivee import SciVeeIE
  284. from .screencast import ScreencastIE
  285. from .servingsys import ServingSysIE
  286. from .shared import SharedIE
  287. from .sina import SinaIE
  288. from .slideshare import SlideshareIE
  289. from .slutload import SlutloadIE
  290. from .smotri import (
  291. SmotriIE,
  292. SmotriCommunityIE,
  293. SmotriUserIE,
  294. SmotriBroadcastIE,
  295. )
  296. from .snotr import SnotrIE
  297. from .sockshare import SockshareIE
  298. from .sohu import SohuIE
  299. from .soundcloud import (
  300. SoundcloudIE,
  301. SoundcloudSetIE,
  302. SoundcloudUserIE,
  303. SoundcloudPlaylistIE
  304. )
  305. from .soundgasm import SoundgasmIE
  306. from .southpark import (
  307. SouthParkIE,
  308. SouthparkDeIE,
  309. )
  310. from .space import SpaceIE
  311. from .spankwire import SpankwireIE
  312. from .spiegel import SpiegelIE
  313. from .spiegeltv import SpiegeltvIE
  314. from .spike import SpikeIE
  315. from .stanfordoc import StanfordOpenClassroomIE
  316. from .steam import SteamIE
  317. from .streamcloud import StreamcloudIE
  318. from .streamcz import StreamCZIE
  319. from .swrmediathek import SWRMediathekIE
  320. from .syfy import SyfyIE
  321. from .sztvhu import SztvHuIE
  322. from .tagesschau import TagesschauIE
  323. from .teachertube import (
  324. TeacherTubeIE,
  325. TeacherTubeUserIE,
  326. )
  327. from .teachingchannel import TeachingChannelIE
  328. from .teamcoco import TeamcocoIE
  329. from .techtalks import TechTalksIE
  330. from .ted import TEDIE
  331. from .tenplay import TenPlayIE
  332. from .testurl import TestURLIE
  333. from .tf1 import TF1IE
  334. from .theplatform import ThePlatformIE
  335. from .thisav import ThisAVIE
  336. from .tinypic import TinyPicIE
  337. from .tlc import TlcIE, TlcDeIE
  338. from .toutv import TouTvIE
  339. from .toypics import ToypicsUserIE, ToypicsIE
  340. from .traileraddict import TrailerAddictIE
  341. from .trilulilu import TriluliluIE
  342. from .trutube import TruTubeIE
  343. from .tube8 import Tube8IE
  344. from .tudou import TudouIE
  345. from .tumblr import TumblrIE
  346. from .tutv import TutvIE
  347. from .tvigle import TvigleIE
  348. from .tvp import TvpIE
  349. from .tvplay import TVPlayIE
  350. from .ubu import UbuIE
  351. from .udemy import (
  352. UdemyIE,
  353. UdemyCourseIE
  354. )
  355. from .unistra import UnistraIE
  356. from .urort import UrortIE
  357. from .ustream import UstreamIE, UstreamChannelIE
  358. from .vbox7 import Vbox7IE
  359. from .veehd import VeeHDIE
  360. from .veoh import VeohIE
  361. from .vesti import VestiIE
  362. from .vevo import VevoIE
  363. from .vh1 import VH1IE
  364. from .viddler import ViddlerIE
  365. from .videobam import VideoBamIE
  366. from .videodetective import VideoDetectiveIE
  367. from .videolecturesnet import VideoLecturesNetIE
  368. from .videofyme import VideofyMeIE
  369. from .videopremium import VideoPremiumIE
  370. from .videott import VideoTtIE
  371. from .videoweed import VideoWeedIE
  372. from .vidme import VidmeIE
  373. from .vimeo import (
  374. VimeoIE,
  375. VimeoChannelIE,
  376. VimeoUserIE,
  377. VimeoAlbumIE,
  378. VimeoGroupsIE,
  379. VimeoReviewIE,
  380. VimeoWatchLaterIE,
  381. )
  382. from .vimple import VimpleIE
  383. from .vine import (
  384. VineIE,
  385. VineUserIE,
  386. )
  387. from .viki import VikiIE
  388. from .vk import VKIE
  389. from .vodlocker import VodlockerIE
  390. from .vube import VubeIE
  391. from .vuclip import VuClipIE
  392. from .vulture import VultureIE
  393. from .washingtonpost import WashingtonPostIE
  394. from .wat import WatIE
  395. from .wayofthemaster import WayOfTheMasterIE
  396. from .wdr import (
  397. WDRIE,
  398. WDRMobileIE,
  399. WDRMausIE,
  400. )
  401. from .weibo import WeiboIE
  402. from .wimp import WimpIE
  403. from .wistia import WistiaIE
  404. from .worldstarhiphop import WorldStarHipHopIE
  405. from .wrzuta import WrzutaIE
  406. from .xbef import XBefIE
  407. from .xboxclips import XboxClipsIE
  408. from .xhamster import XHamsterIE
  409. from .xnxx import XNXXIE
  410. from .xvideos import XVideosIE
  411. from .xtube import XTubeUserIE, XTubeIE
  412. from .yahoo import (
  413. YahooIE,
  414. YahooNewsIE,
  415. YahooSearchIE,
  416. )
  417. from .youjizz import YouJizzIE
  418. from .youku import YoukuIE
  419. from .youporn import YouPornIE
  420. from .youtube import (
  421. YoutubeIE,
  422. YoutubeChannelIE,
  423. YoutubeFavouritesIE,
  424. YoutubeHistoryIE,
  425. YoutubePlaylistIE,
  426. YoutubeRecommendedIE,
  427. YoutubeSearchDateIE,
  428. YoutubeSearchIE,
  429. YoutubeSearchURLIE,
  430. YoutubeShowIE,
  431. YoutubeSubscriptionsIE,
  432. YoutubeTopListIE,
  433. YoutubeTruncatedURLIE,
  434. YoutubeUserIE,
  435. YoutubeWatchLaterIE,
  436. )
  437. from .zdf import ZDFIE
  438. _ALL_CLASSES = [
  439. klass
  440. for name, klass in globals().items()
  441. if name.endswith('IE') and name != 'GenericIE'
  442. ]
  443. _ALL_CLASSES.append(GenericIE)
  444. def gen_extractors():
  445. """ Return a list of an instance of every supported extractor.
  446. The order does matter; the first extractor matched is the one handling the URL.
  447. """
  448. return [klass() for klass in _ALL_CLASSES]
  449. def get_info_extractor(ie_name):
  450. """Returns the info extractor class with the given ie_name"""
  451. return globals()[ie_name+'IE']