__init__.py 8.1 KB

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