__init__.py 12 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439
  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 .fm4 import FM4IE
  100. from .fourtube import FourTubeIE
  101. from .franceculture import FranceCultureIE
  102. from .franceinter import FranceInterIE
  103. from .francetv import (
  104. PluzzIE,
  105. FranceTvInfoIE,
  106. FranceTVIE,
  107. GenerationQuoiIE,
  108. CultureboxIE,
  109. )
  110. from .freesound import FreesoundIE
  111. from .freespeech import FreespeechIE
  112. from .funnyordie import FunnyOrDieIE
  113. from .gamekings import GamekingsIE
  114. from .gameone import GameOneIE
  115. from .gamespot import GameSpotIE
  116. from .gamestar import GameStarIE
  117. from .gametrailers import GametrailersIE
  118. from .gdcvault import GDCVaultIE
  119. from .generic import GenericIE
  120. from .godtube import GodTubeIE
  121. from .googleplus import GooglePlusIE
  122. from .googlesearch import GoogleSearchIE
  123. from .gorillavid import GorillaVidIE
  124. from .goshgay import GoshgayIE
  125. from .hark import HarkIE
  126. from .helsinki import HelsinkiIE
  127. from .hentaistigma import HentaiStigmaIE
  128. from .hotnewhiphop import HotNewHipHopIE
  129. from .howcast import HowcastIE
  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 .mixcloud import MixcloudIE
  182. from .mlb import MLBIE
  183. from .mpora import MporaIE
  184. from .mofosex import MofosexIE
  185. from .mojvideo import MojvideoIE
  186. from .mooshare import MooshareIE
  187. from .morningstar import MorningstarIE
  188. from .motherless import MotherlessIE
  189. from .motorsport import MotorsportIE
  190. from .moviezine import MoviezineIE
  191. from .movshare import MovShareIE
  192. from .mtv import (
  193. MTVIE,
  194. MTVServicesEmbeddedIE,
  195. MTVIggyIE,
  196. )
  197. from .musicplayon import MusicPlayOnIE
  198. from .muzu import MuzuTVIE
  199. from .myspace import MySpaceIE
  200. from .myspass import MySpassIE
  201. from .myvideo import MyVideoIE
  202. from .naver import NaverIE
  203. from .nba import NBAIE
  204. from .nbc import (
  205. NBCIE,
  206. NBCNewsIE,
  207. )
  208. from .ndr import NDRIE
  209. from .ndtv import NDTVIE
  210. from .newgrounds import NewgroundsIE
  211. from .newstube import NewstubeIE
  212. from .nfb import NFBIE
  213. from .nhl import NHLIE, NHLVideocenterIE
  214. from .niconico import NiconicoIE
  215. from .ninegag import NineGagIE
  216. from .noco import NocoIE
  217. from .normalboots import NormalbootsIE
  218. from .novamov import NovaMovIE
  219. from .nowness import NownessIE
  220. from .nowvideo import NowVideoIE
  221. from .npo import NPOIE
  222. from .nrk import (
  223. NRKIE,
  224. NRKTVIE,
  225. )
  226. from .ntv import NTVIE
  227. from .nytimes import NYTimesIE
  228. from .nuvid import NuvidIE
  229. from .oe1 import OE1IE
  230. from .ooyala import OoyalaIE
  231. from .orf import ORFIE
  232. from .parliamentliveuk import ParliamentLiveUKIE
  233. from .pbs import PBSIE
  234. from .photobucket import PhotobucketIE
  235. from .playvid import PlayvidIE
  236. from .podomatic import PodomaticIE
  237. from .pornhd import PornHdIE
  238. from .pornhub import PornHubIE
  239. from .pornotube import PornotubeIE
  240. from .prosiebensat1 import ProSiebenSat1IE
  241. from .pyvideo import PyvideoIE
  242. from .radiofrance import RadioFranceIE
  243. from .rai import RaiIE
  244. from .rbmaradio import RBMARadioIE
  245. from .redtube import RedTubeIE
  246. from .reverbnation import ReverbNationIE
  247. from .ringtv import RingTVIE
  248. from .ro220 import Ro220IE
  249. from .rottentomatoes import RottenTomatoesIE
  250. from .roxwel import RoxwelIE
  251. from .rtbf import RTBFIE
  252. from .rtlnow import RTLnowIE
  253. from .rts import RTSIE
  254. from .rtve import RTVEALaCartaIE
  255. from .ruhd import RUHDIE
  256. from .rutube import (
  257. RutubeIE,
  258. RutubeChannelIE,
  259. RutubeMovieIE,
  260. RutubePersonIE,
  261. )
  262. from .rutv import RUTVIE
  263. from .sapo import SapoIE
  264. from .savefrom import SaveFromIE
  265. from .scivee import SciVeeIE
  266. from .screencast import ScreencastIE
  267. from .servingsys import ServingSysIE
  268. from .shared import SharedIE
  269. from .sina import SinaIE
  270. from .slideshare import SlideshareIE
  271. from .slutload import SlutloadIE
  272. from .smotri import (
  273. SmotriIE,
  274. SmotriCommunityIE,
  275. SmotriUserIE,
  276. SmotriBroadcastIE,
  277. )
  278. from .snotr import SnotrIE
  279. from .sockshare import SockshareIE
  280. from .sohu import SohuIE
  281. from .soundcloud import (
  282. SoundcloudIE,
  283. SoundcloudSetIE,
  284. SoundcloudUserIE,
  285. SoundcloudPlaylistIE
  286. )
  287. from .soundgasm import SoundgasmIE
  288. from .southpark import (
  289. SouthParkIE,
  290. SouthparkDeIE,
  291. )
  292. from .space import SpaceIE
  293. from .spankwire import SpankwireIE
  294. from .spiegel import SpiegelIE
  295. from .spiegeltv import SpiegeltvIE
  296. from .spike import SpikeIE
  297. from .stanfordoc import StanfordOpenClassroomIE
  298. from .steam import SteamIE
  299. from .streamcloud import StreamcloudIE
  300. from .streamcz import StreamCZIE
  301. from .swrmediathek import SWRMediathekIE
  302. from .syfy import SyfyIE
  303. from .sztvhu import SztvHuIE
  304. from .tagesschau import TagesschauIE
  305. from .teachertube import (
  306. TeacherTubeIE,
  307. TeacherTubeUserIE,
  308. )
  309. from .teachingchannel import TeachingChannelIE
  310. from .teamcoco import TeamcocoIE
  311. from .techtalks import TechTalksIE
  312. from .ted import TEDIE
  313. from .tenplay import TenPlayIE
  314. from .testurl import TestURLIE
  315. from .tf1 import TF1IE
  316. from .theplatform import ThePlatformIE
  317. from .thisav import ThisAVIE
  318. from .tinypic import TinyPicIE
  319. from .tlc import TlcIE, TlcDeIE
  320. from .toutv import TouTvIE
  321. from .toypics import ToypicsUserIE, ToypicsIE
  322. from .traileraddict import TrailerAddictIE
  323. from .trilulilu import TriluliluIE
  324. from .trutube import TruTubeIE
  325. from .tube8 import Tube8IE
  326. from .tudou import TudouIE
  327. from .tumblr import TumblrIE
  328. from .tutv import TutvIE
  329. from .tvigle import TvigleIE
  330. from .tvp import TvpIE
  331. from .tvplay import TVPlayIE
  332. from .ubu import UbuIE
  333. from .udemy import (
  334. UdemyIE,
  335. UdemyCourseIE
  336. )
  337. from .unistra import UnistraIE
  338. from .urort import UrortIE
  339. from .ustream import UstreamIE, UstreamChannelIE
  340. from .vbox7 import Vbox7IE
  341. from .veehd import VeeHDIE
  342. from .veoh import VeohIE
  343. from .vesti import VestiIE
  344. from .vevo import VevoIE
  345. from .vh1 import VH1IE
  346. from .viddler import ViddlerIE
  347. from .videobam import VideoBamIE
  348. from .videodetective import VideoDetectiveIE
  349. from .videolecturesnet import VideoLecturesNetIE
  350. from .videofyme import VideofyMeIE
  351. from .videopremium import VideoPremiumIE
  352. from .videott import VideoTtIE
  353. from .videoweed import VideoWeedIE
  354. from .vidme import VidmeIE
  355. from .vimeo import (
  356. VimeoIE,
  357. VimeoChannelIE,
  358. VimeoUserIE,
  359. VimeoAlbumIE,
  360. VimeoGroupsIE,
  361. VimeoReviewIE,
  362. VimeoWatchLaterIE,
  363. )
  364. from .vimple import VimpleIE
  365. from .vine import (
  366. VineIE,
  367. VineUserIE,
  368. )
  369. from .viki import VikiIE
  370. from .vk import VKIE
  371. from .vodlocker import VodlockerIE
  372. from .vube import VubeIE
  373. from .vuclip import VuClipIE
  374. from .vulture import VultureIE
  375. from .washingtonpost import WashingtonPostIE
  376. from .wat import WatIE
  377. from .wdr import (
  378. WDRIE,
  379. WDRMobileIE,
  380. WDRMausIE,
  381. )
  382. from .weibo import WeiboIE
  383. from .wimp import WimpIE
  384. from .wistia import WistiaIE
  385. from .worldstarhiphop import WorldStarHipHopIE
  386. from .wrzuta import WrzutaIE
  387. from .xbef import XBefIE
  388. from .xboxclips import XboxClipsIE
  389. from .xhamster import XHamsterIE
  390. from .xnxx import XNXXIE
  391. from .xvideos import XVideosIE
  392. from .xtube import XTubeUserIE, XTubeIE
  393. from .yahoo import (
  394. YahooIE,
  395. YahooNewsIE,
  396. YahooSearchIE,
  397. )
  398. from .youjizz import YouJizzIE
  399. from .youku import YoukuIE
  400. from .youporn import YouPornIE
  401. from .youtube import (
  402. YoutubeIE,
  403. YoutubeChannelIE,
  404. YoutubeFavouritesIE,
  405. YoutubeHistoryIE,
  406. YoutubePlaylistIE,
  407. YoutubeRecommendedIE,
  408. YoutubeSearchDateIE,
  409. YoutubeSearchIE,
  410. YoutubeSearchURLIE,
  411. YoutubeShowIE,
  412. YoutubeSubscriptionsIE,
  413. YoutubeTopListIE,
  414. YoutubeTruncatedURLIE,
  415. YoutubeUserIE,
  416. YoutubeWatchLaterIE,
  417. )
  418. from .zdf import ZDFIE
  419. _ALL_CLASSES = [
  420. klass
  421. for name, klass in globals().items()
  422. if name.endswith('IE') and name != 'GenericIE'
  423. ]
  424. _ALL_CLASSES.append(GenericIE)
  425. def gen_extractors():
  426. """ Return a list of an instance of every supported extractor.
  427. The order does matter; the first extractor matched is the one handling the URL.
  428. """
  429. return [klass() for klass in _ALL_CLASSES]
  430. def get_info_extractor(ie_name):
  431. """Returns the info extractor class with the given ie_name"""
  432. return globals()[ie_name+'IE']