__init__.py 12 KB

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