__init__.py 8.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319
  1. from .academicearth import AcademicEarthCourseIE
  2. from .addanime import AddAnimeIE
  3. from .anitube import AnitubeIE
  4. from .aparat import AparatIE
  5. from .appletrailers import AppleTrailersIE
  6. from .archiveorg import ArchiveOrgIE
  7. from .ard import ARDIE
  8. from .arte import (
  9. ArteTvIE,
  10. ArteTVPlus7IE,
  11. ArteTVCreativeIE,
  12. ArteTVFutureIE,
  13. ArteTVDDCIE,
  14. )
  15. from .auengine import AUEngineIE
  16. from .bambuser import BambuserIE, BambuserChannelIE
  17. from .bandcamp import BandcampIE, BandcampAlbumIE
  18. from .bbccouk import BBCCoUkIE
  19. from .blinkx import BlinkxIE
  20. from .bliptv import BlipTVIE, BlipTVUserIE
  21. from .bloomberg import BloombergIE
  22. from .br import BRIE
  23. from .breakcom import BreakIE
  24. from .brightcove import BrightcoveIE
  25. from .c56 import C56IE
  26. from .canalplus import CanalplusIE
  27. from .canalc2 import Canalc2IE
  28. from .cbs import CBSIE
  29. from .ceskatelevize import CeskaTelevizeIE
  30. from .channel9 import Channel9IE
  31. from .chilloutzone import ChilloutzoneIE
  32. from .cinemassacre import CinemassacreIE
  33. from .clipfish import ClipfishIE
  34. from .cliphunter import CliphunterIE
  35. from .clipsyndicate import ClipsyndicateIE
  36. from .cmt import CMTIE
  37. from .cnn import (
  38. CNNIE,
  39. CNNBlogsIE,
  40. )
  41. from .collegehumor import CollegeHumorIE
  42. from .comedycentral import ComedyCentralIE, ComedyCentralShowsIE
  43. from .condenast import CondeNastIE
  44. from .criterion import CriterionIE
  45. from .crunchyroll import CrunchyrollIE
  46. from .cspan import CSpanIE
  47. from .d8 import D8IE
  48. from .dailymotion import (
  49. DailymotionIE,
  50. DailymotionPlaylistIE,
  51. DailymotionUserIE,
  52. )
  53. from .daum import DaumIE
  54. from .depositfiles import DepositFilesIE
  55. from .dotsub import DotsubIE
  56. from .dreisat import DreiSatIE
  57. from .defense import DefenseGouvFrIE
  58. from .discovery import DiscoveryIE
  59. from .dropbox import DropboxIE
  60. from .ebaumsworld import EbaumsWorldIE
  61. from .ehow import EHowIE
  62. from .eighttracks import EightTracksIE
  63. from .eitb import EitbIE
  64. from .elpais import ElPaisIE
  65. from .escapist import EscapistIE
  66. from .everyonesmixtape import EveryonesMixtapeIE
  67. from .exfm import ExfmIE
  68. from .extremetube import ExtremeTubeIE
  69. from .facebook import FacebookIE
  70. from .faz import FazIE
  71. from .firstpost import FirstpostIE
  72. from .firsttv import FirstTVIE
  73. from .fktv import (
  74. FKTVIE,
  75. FKTVPosteckeIE,
  76. )
  77. from .flickr import FlickrIE
  78. from .fourtube import FourTubeIE
  79. from .franceinter import FranceInterIE
  80. from .francetv import (
  81. PluzzIE,
  82. FranceTvInfoIE,
  83. FranceTVIE,
  84. GenerationQuoiIE,
  85. CultureboxIE,
  86. )
  87. from .freesound import FreesoundIE
  88. from .freespeech import FreespeechIE
  89. from .funnyordie import FunnyOrDieIE
  90. from .gamekings import GamekingsIE
  91. from .gamespot import GameSpotIE
  92. from .gametrailers import GametrailersIE
  93. from .gdcvault import GDCVaultIE
  94. from .generic import GenericIE
  95. from .googleplus import GooglePlusIE
  96. from .googlesearch import GoogleSearchIE
  97. from .hark import HarkIE
  98. from .helsinki import HelsinkiIE
  99. from .hotnewhiphop import HotNewHipHopIE
  100. from .howcast import HowcastIE
  101. from .huffpost import HuffPostIE
  102. from .hypem import HypemIE
  103. from .ign import IGNIE, OneUPIE
  104. from .imdb import (
  105. ImdbIE,
  106. ImdbListIE
  107. )
  108. from .ina import InaIE
  109. from .infoq import InfoQIE
  110. from .instagram import InstagramIE
  111. from .internetvideoarchive import InternetVideoArchiveIE
  112. from .iprima import IPrimaIE
  113. from .ivi import (
  114. IviIE,
  115. IviCompilationIE
  116. )
  117. from .jadorecettepub import JadoreCettePubIE
  118. from .jeuxvideo import JeuxVideoIE
  119. from .jukebox import JukeboxIE
  120. from .justintv import JustinTVIE
  121. from .jpopsukitv import JpopsukiIE
  122. from .kankan import KankanIE
  123. from .keezmovies import KeezMoviesIE
  124. from .khanacademy import KhanAcademyIE
  125. from .kickstarter import KickStarterIE
  126. from .keek import KeekIE
  127. from .kontrtube import KontrTubeIE
  128. from .la7 import LA7IE
  129. from .lifenews import LifeNewsIE
  130. from .liveleak import LiveLeakIE
  131. from .livestream import LivestreamIE, LivestreamOriginalIE
  132. from .lynda import (
  133. LyndaIE,
  134. LyndaCourseIE
  135. )
  136. from .m6 import M6IE
  137. from .macgamestore import MacGameStoreIE
  138. from .malemotion import MalemotionIE
  139. from .mdr import MDRIE
  140. from .metacafe import MetacafeIE
  141. from .metacritic import MetacriticIE
  142. from .mit import TechTVMITIE, MITIE, OCWMITIE
  143. from .mixcloud import MixcloudIE
  144. from .mpora import MporaIE
  145. from .mofosex import MofosexIE
  146. from .mooshare import MooshareIE
  147. from .mtv import (
  148. MTVIE,
  149. MTVIggyIE,
  150. )
  151. from .muzu import MuzuTVIE
  152. from .myspace import MySpaceIE
  153. from .myspass import MySpassIE
  154. from .myvideo import MyVideoIE
  155. from .naver import NaverIE
  156. from .nba import NBAIE
  157. from .nbc import (
  158. NBCIE,
  159. NBCNewsIE,
  160. )
  161. from .ndr import NDRIE
  162. from .ndtv import NDTVIE
  163. from .newgrounds import NewgroundsIE
  164. from .nfb import NFBIE
  165. from .nhl import NHLIE, NHLVideocenterIE
  166. from .niconico import NiconicoIE
  167. from .ninegag import NineGagIE
  168. from .normalboots import NormalbootsIE
  169. from .novamov import NovaMovIE
  170. from .nowness import NownessIE
  171. from .nowvideo import NowVideoIE
  172. from .ooyala import OoyalaIE
  173. from .orf import ORFIE
  174. from .pbs import PBSIE
  175. from .photobucket import PhotobucketIE
  176. from .podomatic import PodomaticIE
  177. from .pornhd import PornHdIE
  178. from .pornhub import PornHubIE
  179. from .pornotube import PornotubeIE
  180. from .prosiebensat1 import ProSiebenSat1IE
  181. from .pyvideo import PyvideoIE
  182. from .radiofrance import RadioFranceIE
  183. from .rbmaradio import RBMARadioIE
  184. from .redtube import RedTubeIE
  185. from .ringtv import RingTVIE
  186. from .ro220 import Ro220IE
  187. from .rottentomatoes import RottenTomatoesIE
  188. from .roxwel import RoxwelIE
  189. from .rtlnow import RTLnowIE
  190. from .rutube import (
  191. RutubeIE,
  192. RutubeChannelIE,
  193. RutubeMovieIE,
  194. RutubePersonIE,
  195. )
  196. from .savefrom import SaveFromIE
  197. from .servingsys import ServingSysIE
  198. from .sina import SinaIE
  199. from .slashdot import SlashdotIE
  200. from .slideshare import SlideshareIE
  201. from .smotri import (
  202. SmotriIE,
  203. SmotriCommunityIE,
  204. SmotriUserIE,
  205. SmotriBroadcastIE,
  206. )
  207. from .sohu import SohuIE
  208. from .soundcloud import SoundcloudIE, SoundcloudSetIE, SoundcloudUserIE
  209. from .southparkstudios import (
  210. SouthParkStudiosIE,
  211. SouthparkDeIE,
  212. )
  213. from .space import SpaceIE
  214. from .spankwire import SpankwireIE
  215. from .spiegel import SpiegelIE
  216. from .spike import SpikeIE
  217. from .stanfordoc import StanfordOpenClassroomIE
  218. from .statigram import StatigramIE
  219. from .steam import SteamIE
  220. from .streamcloud import StreamcloudIE
  221. from .streamcz import StreamCZIE
  222. from .syfy import SyfyIE
  223. from .sztvhu import SztvHuIE
  224. from .teamcoco import TeamcocoIE
  225. from .techtalks import TechTalksIE
  226. from .ted import TEDIE
  227. from .testurl import TestURLIE
  228. from .tf1 import TF1IE
  229. from .theplatform import ThePlatformIE
  230. from .thisav import ThisAVIE
  231. from .tinypic import TinyPicIE
  232. from .toutv import TouTvIE
  233. from .traileraddict import TrailerAddictIE
  234. from .trilulilu import TriluliluIE
  235. from .trutube import TruTubeIE
  236. from .tube8 import Tube8IE
  237. from .tudou import TudouIE
  238. from .tumblr import TumblrIE
  239. from .tutv import TutvIE
  240. from .tvp import TvpIE
  241. from .unistra import UnistraIE
  242. from .ustream import UstreamIE, UstreamChannelIE
  243. from .vbox7 import Vbox7IE
  244. from .veehd import VeeHDIE
  245. from .veoh import VeohIE
  246. from .vesti import VestiIE
  247. from .vevo import VevoIE
  248. from .vice import ViceIE
  249. from .viddler import ViddlerIE
  250. from .videobam import VideoBamIE
  251. from .videodetective import VideoDetectiveIE
  252. from .videofyme import VideofyMeIE
  253. from .videopremium import VideoPremiumIE
  254. from .vimeo import (
  255. VimeoIE,
  256. VimeoChannelIE,
  257. VimeoUserIE,
  258. VimeoAlbumIE,
  259. VimeoGroupsIE,
  260. VimeoReviewIE,
  261. )
  262. from .vine import VineIE
  263. from .viki import VikiIE
  264. from .vk import VKIE
  265. from .vube import VubeIE
  266. from .wat import WatIE
  267. from .weibo import WeiboIE
  268. from .wimp import WimpIE
  269. from .wistia import WistiaIE
  270. from .worldstarhiphop import WorldStarHipHopIE
  271. from .xhamster import XHamsterIE
  272. from .xnxx import XNXXIE
  273. from .xvideos import XVideosIE
  274. from .xtube import XTubeIE
  275. from .yahoo import (
  276. YahooIE,
  277. YahooNewsIE,
  278. YahooSearchIE,
  279. )
  280. from .youjizz import YouJizzIE
  281. from .youku import YoukuIE
  282. from .youporn import YouPornIE
  283. from .youtube import (
  284. YoutubeIE,
  285. YoutubePlaylistIE,
  286. YoutubeSearchIE,
  287. YoutubeSearchDateIE,
  288. YoutubeUserIE,
  289. YoutubeChannelIE,
  290. YoutubeShowIE,
  291. YoutubeSubscriptionsIE,
  292. YoutubeRecommendedIE,
  293. YoutubeTruncatedURLIE,
  294. YoutubeWatchLaterIE,
  295. YoutubeFavouritesIE,
  296. YoutubeHistoryIE,
  297. YoutubeTopListIE,
  298. )
  299. from .zdf import ZDFIE
  300. _ALL_CLASSES = [
  301. klass
  302. for name, klass in globals().items()
  303. if name.endswith('IE') and name != 'GenericIE'
  304. ]
  305. _ALL_CLASSES.append(GenericIE)
  306. def gen_extractors():
  307. """ Return a list of an instance of every supported extractor.
  308. The order does matter; the first extractor matched is the one handling the URL.
  309. """
  310. return [klass() for klass in _ALL_CLASSES]
  311. def get_info_extractor(ie_name):
  312. """Returns the info extractor class with the given ie_name"""
  313. return globals()[ie_name+'IE']