__init__.py 10 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374
  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 .iconosquare import IconosquareIE
  117. from .ign import IGNIE, OneUPIE
  118. from .imdb import (
  119. ImdbIE,
  120. ImdbListIE
  121. )
  122. from .ina import InaIE
  123. from .infoq import InfoQIE
  124. from .instagram import InstagramIE, InstagramUserIE
  125. from .internetvideoarchive import InternetVideoArchiveIE
  126. from .iprima import IPrimaIE
  127. from .ivi import (
  128. IviIE,
  129. IviCompilationIE
  130. )
  131. from .jadorecettepub import JadoreCettePubIE
  132. from .jeuxvideo import JeuxVideoIE
  133. from .jukebox import JukeboxIE
  134. from .justintv import JustinTVIE
  135. from .jpopsukitv import JpopsukiIE
  136. from .kankan import KankanIE
  137. from .keezmovies import KeezMoviesIE
  138. from .khanacademy import KhanAcademyIE
  139. from .kickstarter import KickStarterIE
  140. from .keek import KeekIE
  141. from .kontrtube import KontrTubeIE
  142. from .la7 import LA7IE
  143. from .lifenews import LifeNewsIE
  144. from .liveleak import LiveLeakIE
  145. from .livestream import LivestreamIE, LivestreamOriginalIE
  146. from .lynda import (
  147. LyndaIE,
  148. LyndaCourseIE
  149. )
  150. from .m6 import M6IE
  151. from .macgamestore import MacGameStoreIE
  152. from .mailru import MailRuIE
  153. from .malemotion import MalemotionIE
  154. from .mdr import MDRIE
  155. from .metacafe import MetacafeIE
  156. from .metacritic import MetacriticIE
  157. from .mit import TechTVMITIE, MITIE, OCWMITIE
  158. from .mixcloud import MixcloudIE
  159. from .mpora import MporaIE
  160. from .mofosex import MofosexIE
  161. from .mooshare import MooshareIE
  162. from .morningstar import MorningstarIE
  163. from .motorsport import MotorsportIE
  164. from .moviezine import MoviezineIE
  165. from .movshare import MovShareIE
  166. from .mtv import (
  167. MTVIE,
  168. MTVIggyIE,
  169. )
  170. from .musicplayon import MusicPlayOnIE
  171. from .muzu import MuzuTVIE
  172. from .myspace import MySpaceIE
  173. from .myspass import MySpassIE
  174. from .myvideo import MyVideoIE
  175. from .naver import NaverIE
  176. from .nba import NBAIE
  177. from .nbc import (
  178. NBCIE,
  179. NBCNewsIE,
  180. )
  181. from .ndr import NDRIE
  182. from .ndtv import NDTVIE
  183. from .newgrounds import NewgroundsIE
  184. from .newstube import NewstubeIE
  185. from .nfb import NFBIE
  186. from .nhl import NHLIE, NHLVideocenterIE
  187. from .niconico import NiconicoIE
  188. from .ninegag import NineGagIE
  189. from .noco import NocoIE
  190. from .normalboots import NormalbootsIE
  191. from .novamov import NovaMovIE
  192. from .nowness import NownessIE
  193. from .nowvideo import NowVideoIE
  194. from .nrk import NRKIE
  195. from .ntv import NTVIE
  196. from .nytimes import NYTimesIE
  197. from .nuvid import NuvidIE
  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 .videoweed import VideoWeedIE
  300. from .vimeo import (
  301. VimeoIE,
  302. VimeoChannelIE,
  303. VimeoUserIE,
  304. VimeoAlbumIE,
  305. VimeoGroupsIE,
  306. VimeoReviewIE,
  307. VimeoWatchLaterIE,
  308. )
  309. from .vine import VineIE
  310. from .viki import VikiIE
  311. from .vk import VKIE
  312. from .vube import VubeIE
  313. from .vuclip import VuClipIE
  314. from .washingtonpost import WashingtonPostIE
  315. from .wat import WatIE
  316. from .wdr import (
  317. WDRIE,
  318. WDRMausIE,
  319. )
  320. from .weibo import WeiboIE
  321. from .wimp import WimpIE
  322. from .wistia import WistiaIE
  323. from .worldstarhiphop import WorldStarHipHopIE
  324. from .xbef import XBefIE
  325. from .xhamster import XHamsterIE
  326. from .xnxx import XNXXIE
  327. from .xvideos import XVideosIE
  328. from .xtube import XTubeUserIE, XTubeIE
  329. from .yahoo import (
  330. YahooIE,
  331. YahooNewsIE,
  332. YahooSearchIE,
  333. )
  334. from .youjizz import YouJizzIE
  335. from .youku import YoukuIE
  336. from .youporn import YouPornIE
  337. from .youtube import (
  338. YoutubeIE,
  339. YoutubeChannelIE,
  340. YoutubeFavouritesIE,
  341. YoutubeHistoryIE,
  342. YoutubePlaylistIE,
  343. YoutubeRecommendedIE,
  344. YoutubeSearchDateIE,
  345. YoutubeSearchIE,
  346. YoutubeSearchURLIE,
  347. YoutubeShowIE,
  348. YoutubeSubscriptionsIE,
  349. YoutubeTopListIE,
  350. YoutubeTruncatedURLIE,
  351. YoutubeUserIE,
  352. YoutubeWatchLaterIE,
  353. )
  354. from .zdf import ZDFIE
  355. _ALL_CLASSES = [
  356. klass
  357. for name, klass in globals().items()
  358. if name.endswith('IE') and name != 'GenericIE'
  359. ]
  360. _ALL_CLASSES.append(GenericIE)
  361. def gen_extractors():
  362. """ Return a list of an instance of every supported extractor.
  363. The order does matter; the first extractor matched is the one handling the URL.
  364. """
  365. return [klass() for klass in _ALL_CLASSES]
  366. def get_info_extractor(ie_name):
  367. """Returns the info extractor class with the given ie_name"""
  368. return globals()[ie_name+'IE']