__init__.py 12 KB

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