__init__.py 11 KB

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