__init__.py 9.4 KB

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