__init__.py 7.7 KB

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