__init__.py 9.2 KB

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