__init__.py 10 KB

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