__init__.py 11 KB

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