__init__.py 12 KB

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