__init__.py 8.0 KB

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