__init__.py 12 KB

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