__init__.py 12 KB

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