__init__.py 10 KB

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