__init__.py 10.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367
  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 .moviezine import MoviezineIE
  164. from .movshare import MovShareIE
  165. from .mtv import (
  166. MTVIE,
  167. MTVIggyIE,
  168. )
  169. from .musicplayon import MusicPlayOnIE
  170. from .muzu import MuzuTVIE
  171. from .myspace import MySpaceIE
  172. from .myspass import MySpassIE
  173. from .myvideo import MyVideoIE
  174. from .naver import NaverIE
  175. from .nba import NBAIE
  176. from .nbc import (
  177. NBCIE,
  178. NBCNewsIE,
  179. )
  180. from .ndr import NDRIE
  181. from .ndtv import NDTVIE
  182. from .newgrounds import NewgroundsIE
  183. from .newstube import NewstubeIE
  184. from .nfb import NFBIE
  185. from .nhl import NHLIE, NHLVideocenterIE
  186. from .niconico import NiconicoIE
  187. from .ninegag import NineGagIE
  188. from .noco import NocoIE
  189. from .normalboots import NormalbootsIE
  190. from .novamov import NovaMovIE
  191. from .nowness import NownessIE
  192. from .nowvideo import NowVideoIE
  193. from .nrk import NRKIE
  194. from .ntv import NTVIE
  195. from .oe1 import OE1IE
  196. from .ooyala import OoyalaIE
  197. from .orf import ORFIE
  198. from .parliamentliveuk import ParliamentLiveUKIE
  199. from .pbs import PBSIE
  200. from .photobucket import PhotobucketIE
  201. from .playvid import PlayvidIE
  202. from .podomatic import PodomaticIE
  203. from .pornhd import PornHdIE
  204. from .pornhub import PornHubIE
  205. from .pornotube import PornotubeIE
  206. from .prosiebensat1 import ProSiebenSat1IE
  207. from .pyvideo import PyvideoIE
  208. from .radiofrance import RadioFranceIE
  209. from .rbmaradio import RBMARadioIE
  210. from .redtube import RedTubeIE
  211. from .ringtv import RingTVIE
  212. from .ro220 import Ro220IE
  213. from .rottentomatoes import RottenTomatoesIE
  214. from .roxwel import RoxwelIE
  215. from .rtbf import RTBFIE
  216. from .rtlnow import RTLnowIE
  217. from .rts import RTSIE
  218. from .rtve import RTVEALaCartaIE
  219. from .rutube import (
  220. RutubeIE,
  221. RutubeChannelIE,
  222. RutubeMovieIE,
  223. RutubePersonIE,
  224. )
  225. from .rutv import RUTVIE
  226. from .savefrom import SaveFromIE
  227. from .scivee import SciVeeIE
  228. from .servingsys import ServingSysIE
  229. from .sina import SinaIE
  230. from .slideshare import SlideshareIE
  231. from .smotri import (
  232. SmotriIE,
  233. SmotriCommunityIE,
  234. SmotriUserIE,
  235. SmotriBroadcastIE,
  236. )
  237. from .sohu import SohuIE
  238. from .soundcloud import SoundcloudIE, SoundcloudSetIE, SoundcloudUserIE
  239. from .southparkstudios import (
  240. SouthParkStudiosIE,
  241. SouthparkDeIE,
  242. )
  243. from .space import SpaceIE
  244. from .spankwire import SpankwireIE
  245. from .spiegel import SpiegelIE
  246. from .spike import SpikeIE
  247. from .stanfordoc import StanfordOpenClassroomIE
  248. from .statigram import StatigramIE
  249. from .steam import SteamIE
  250. from .streamcloud import StreamcloudIE
  251. from .streamcz import StreamCZIE
  252. from .syfy import SyfyIE
  253. from .sztvhu import SztvHuIE
  254. from .teamcoco import TeamcocoIE
  255. from .techtalks import TechTalksIE
  256. from .ted import TEDIE
  257. from .testurl import TestURLIE
  258. from .tf1 import TF1IE
  259. from .theplatform import ThePlatformIE
  260. from .thisav import ThisAVIE
  261. from .tinypic import TinyPicIE
  262. from .tlc import TlcIE, TlcDeIE
  263. from .toutv import TouTvIE
  264. from .toypics import ToypicsUserIE, ToypicsIE
  265. from .traileraddict import TrailerAddictIE
  266. from .trilulilu import TriluliluIE
  267. from .trutube import TruTubeIE
  268. from .tube8 import Tube8IE
  269. from .tudou import TudouIE
  270. from .tumblr import TumblrIE
  271. from .tutv import TutvIE
  272. from .tvigle import TvigleIE
  273. from .tvp import TvpIE
  274. from .udemy import (
  275. UdemyIE,
  276. UdemyCourseIE
  277. )
  278. from .unistra import UnistraIE
  279. from .urort import UrortIE
  280. from .ustream import UstreamIE, UstreamChannelIE
  281. from .vbox7 import Vbox7IE
  282. from .veehd import VeeHDIE
  283. from .veoh import VeohIE
  284. from .vesti import VestiIE
  285. from .vevo import VevoIE
  286. from .viddler import ViddlerIE
  287. from .videobam import VideoBamIE
  288. from .videodetective import VideoDetectiveIE
  289. from .videolecturesnet import VideoLecturesNetIE
  290. from .videofyme import VideofyMeIE
  291. from .videopremium import VideoPremiumIE
  292. from .videoweed import VideoWeedIE
  293. from .vimeo import (
  294. VimeoIE,
  295. VimeoChannelIE,
  296. VimeoUserIE,
  297. VimeoAlbumIE,
  298. VimeoGroupsIE,
  299. VimeoReviewIE,
  300. VimeoWatchLaterIE,
  301. )
  302. from .vine import VineIE
  303. from .viki import VikiIE
  304. from .vk import VKIE
  305. from .vube import VubeIE
  306. from .vuclip import VuClipIE
  307. from .washingtonpost import WashingtonPostIE
  308. from .wat import WatIE
  309. from .wdr import (
  310. WDRIE,
  311. WDRMausIE,
  312. )
  313. from .weibo import WeiboIE
  314. from .wimp import WimpIE
  315. from .wistia import WistiaIE
  316. from .worldstarhiphop import WorldStarHipHopIE
  317. from .xbef import XBefIE
  318. from .xhamster import XHamsterIE
  319. from .xnxx import XNXXIE
  320. from .xvideos import XVideosIE
  321. from .xtube import XTubeUserIE, XTubeIE
  322. from .yahoo import (
  323. YahooIE,
  324. YahooNewsIE,
  325. YahooSearchIE,
  326. )
  327. from .youjizz import YouJizzIE
  328. from .youku import YoukuIE
  329. from .youporn import YouPornIE
  330. from .youtube import (
  331. YoutubeIE,
  332. YoutubeChannelIE,
  333. YoutubeFavouritesIE,
  334. YoutubeHistoryIE,
  335. YoutubePlaylistIE,
  336. YoutubeRecommendedIE,
  337. YoutubeSearchDateIE,
  338. YoutubeSearchIE,
  339. YoutubeSearchURLIE,
  340. YoutubeShowIE,
  341. YoutubeSubscriptionsIE,
  342. YoutubeTopListIE,
  343. YoutubeTruncatedURLIE,
  344. YoutubeUserIE,
  345. YoutubeWatchLaterIE,
  346. )
  347. from .zdf import ZDFIE
  348. _ALL_CLASSES = [
  349. klass
  350. for name, klass in globals().items()
  351. if name.endswith('IE') and name != 'GenericIE'
  352. ]
  353. _ALL_CLASSES.append(GenericIE)
  354. def gen_extractors():
  355. """ Return a list of an instance of every supported extractor.
  356. The order does matter; the first extractor matched is the one handling the URL.
  357. """
  358. return [klass() for klass in _ALL_CLASSES]
  359. def get_info_extractor(ie_name):
  360. """Returns the info extractor class with the given ie_name"""
  361. return globals()[ie_name+'IE']