__init__.py 8.8 KB

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