__init__.py 12 KB

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