__init__.py 11 KB

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