__init__.py 9.9 KB

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