__init__.py 8.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294
  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 .ndtv import NDTVIE
  147. from .newgrounds import NewgroundsIE
  148. from .nhl import NHLIE, NHLVideocenterIE
  149. from .niconico import NiconicoIE
  150. from .ninegag import NineGagIE
  151. from .normalboots import NormalbootsIE
  152. from .novamov import NovamovIE
  153. from .nowness import NownessIE
  154. from .nowvideo import NowVideoIE
  155. from .ooyala import OoyalaIE
  156. from .orf import ORFIE
  157. from .pbs import PBSIE
  158. from .photobucket import PhotobucketIE
  159. from .podomatic import PodomaticIE
  160. from .pornhd import PornHdIE
  161. from .pornhub import PornHubIE
  162. from .pornotube import PornotubeIE
  163. from .pyvideo import PyvideoIE
  164. from .radiofrance import RadioFranceIE
  165. from .rbmaradio import RBMARadioIE
  166. from .redtube import RedTubeIE
  167. from .ringtv import RingTVIE
  168. from .ro220 import Ro220IE
  169. from .rottentomatoes import RottenTomatoesIE
  170. from .roxwel import RoxwelIE
  171. from .rtlnow import RTLnowIE
  172. from .rutube import (
  173. RutubeIE,
  174. RutubeChannelIE,
  175. RutubeMovieIE,
  176. RutubePersonIE,
  177. )
  178. from .servingsys import ServingSysIE
  179. from .sina import SinaIE
  180. from .slashdot import SlashdotIE
  181. from .slideshare import SlideshareIE
  182. from .smotri import (
  183. SmotriIE,
  184. SmotriCommunityIE,
  185. SmotriUserIE,
  186. SmotriBroadcastIE,
  187. )
  188. from .sohu import SohuIE
  189. from .soundcloud import SoundcloudIE, SoundcloudSetIE, SoundcloudUserIE
  190. from .southparkstudios import (
  191. SouthParkStudiosIE,
  192. SouthparkDeIE,
  193. )
  194. from .space import SpaceIE
  195. from .spankwire import SpankwireIE
  196. from .spiegel import SpiegelIE
  197. from .spike import SpikeIE
  198. from .stanfordoc import StanfordOpenClassroomIE
  199. from .statigram import StatigramIE
  200. from .steam import SteamIE
  201. from .streamcloud import StreamcloudIE
  202. from .sztvhu import SztvHuIE
  203. from .teamcoco import TeamcocoIE
  204. from .techtalks import TechTalksIE
  205. from .ted import TEDIE
  206. from .tf1 import TF1IE
  207. from .theplatform import ThePlatformIE
  208. from .thisav import ThisAVIE
  209. from .tinypic import TinyPicIE
  210. from .toutv import TouTvIE
  211. from .traileraddict import TrailerAddictIE
  212. from .trilulilu import TriluliluIE
  213. from .tube8 import Tube8IE
  214. from .tudou import TudouIE
  215. from .tumblr import TumblrIE
  216. from .tutv import TutvIE
  217. from .tvp import TvpIE
  218. from .unistra import UnistraIE
  219. from .ustream import UstreamIE, UstreamChannelIE
  220. from .vbox7 import Vbox7IE
  221. from .veehd import VeeHDIE
  222. from .veoh import VeohIE
  223. from .vevo import VevoIE
  224. from .vice import ViceIE
  225. from .viddler import ViddlerIE
  226. from .videodetective import VideoDetectiveIE
  227. from .videofyme import VideofyMeIE
  228. from .videopremium import VideoPremiumIE
  229. from .vimeo import (
  230. VimeoIE,
  231. VimeoChannelIE,
  232. VimeoUserIE,
  233. VimeoAlbumIE,
  234. VimeoGroupsIE,
  235. VimeoReviewIE,
  236. )
  237. from .vine import VineIE
  238. from .viki import VikiIE
  239. from .vk import VKIE
  240. from .vube import VubeIE
  241. from .wat import WatIE
  242. from .weibo import WeiboIE
  243. from .wimp import WimpIE
  244. from .wistia import WistiaIE
  245. from .worldstarhiphop import WorldStarHipHopIE
  246. from .xhamster import XHamsterIE
  247. from .xnxx import XNXXIE
  248. from .xvideos import XVideosIE
  249. from .xtube import XTubeIE
  250. from .yahoo import (
  251. YahooIE,
  252. YahooNewsIE,
  253. YahooSearchIE,
  254. )
  255. from .youjizz import YouJizzIE
  256. from .youku import YoukuIE
  257. from .youporn import YouPornIE
  258. from .youtube import (
  259. YoutubeIE,
  260. YoutubePlaylistIE,
  261. YoutubeSearchIE,
  262. YoutubeSearchDateIE,
  263. YoutubeUserIE,
  264. YoutubeChannelIE,
  265. YoutubeShowIE,
  266. YoutubeSubscriptionsIE,
  267. YoutubeRecommendedIE,
  268. YoutubeTruncatedURLIE,
  269. YoutubeWatchLaterIE,
  270. YoutubeFavouritesIE,
  271. YoutubeHistoryIE,
  272. YoutubeTopListIE,
  273. )
  274. from .zdf import ZDFIE
  275. _ALL_CLASSES = [
  276. klass
  277. for name, klass in globals().items()
  278. if name.endswith('IE') and name != 'GenericIE'
  279. ]
  280. _ALL_CLASSES.append(GenericIE)
  281. def gen_extractors():
  282. """ Return a list of an instance of every supported extractor.
  283. The order does matter; the first extractor matched is the one handling the URL.
  284. """
  285. return [klass() for klass in _ALL_CLASSES]
  286. def get_info_extractor(ie_name):
  287. """Returns the info extractor class with the given ie_name"""
  288. return globals()[ie_name+'IE']