__init__.py 8.5 KB

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