__init__.py 12 KB

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