__init__.py 12 KB

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