__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 .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 .elpais import ElPaisIE
  58. from .escapist import EscapistIE
  59. from .everyonesmixtape import EveryonesMixtapeIE
  60. from .exfm import ExfmIE
  61. from .extremetube import ExtremeTubeIE
  62. from .facebook import FacebookIE
  63. from .faz import FazIE
  64. from .firstpost import FirstpostIE
  65. from .fktv import (
  66. FKTVIE,
  67. FKTVPosteckeIE,
  68. )
  69. from .flickr import FlickrIE
  70. from .franceinter import FranceInterIE
  71. from .francetv import (
  72. PluzzIE,
  73. FranceTvInfoIE,
  74. FranceTVIE,
  75. GenerationQuoiIE,
  76. CultureboxIE,
  77. )
  78. from .freesound import FreesoundIE
  79. from .freespeech import FreespeechIE
  80. from .funnyordie import FunnyOrDieIE
  81. from .gamekings import GamekingsIE
  82. from .gamespot import GameSpotIE
  83. from .gametrailers import GametrailersIE
  84. from .generic import GenericIE
  85. from .googleplus import GooglePlusIE
  86. from .googlesearch import GoogleSearchIE
  87. from .hark import HarkIE
  88. from .hotnewhiphop import HotNewHipHopIE
  89. from .howcast import HowcastIE
  90. from .huffpost import HuffPostIE
  91. from .hypem import HypemIE
  92. from .ign import IGNIE, OneUPIE
  93. from .imdb import (
  94. ImdbIE,
  95. ImdbListIE
  96. )
  97. from .ina import InaIE
  98. from .infoq import InfoQIE
  99. from .instagram import InstagramIE
  100. from .internetvideoarchive import InternetVideoArchiveIE
  101. from .iprima import IPrimaIE
  102. from .ivi import (
  103. IviIE,
  104. IviCompilationIE
  105. )
  106. from .jeuxvideo import JeuxVideoIE
  107. from .jukebox import JukeboxIE
  108. from .justintv import JustinTVIE
  109. from .jpopsukitv import JpopsukiIE
  110. from .kankan import KankanIE
  111. from .keezmovies import KeezMoviesIE
  112. from .khanacademy import KhanAcademyIE
  113. from .kickstarter import KickStarterIE
  114. from .keek import KeekIE
  115. from .la7 import LA7IE
  116. from .lifenews import LifeNewsIE
  117. from .liveleak import LiveLeakIE
  118. from .livestream import LivestreamIE, LivestreamOriginalIE
  119. from .lynda import (
  120. LyndaIE,
  121. LyndaCourseIE
  122. )
  123. from .m6 import M6IE
  124. from .macgamestore import MacGameStoreIE
  125. from .malemotion import MalemotionIE
  126. from .mdr import MDRIE
  127. from .metacafe import MetacafeIE
  128. from .metacritic import MetacriticIE
  129. from .mit import TechTVMITIE, MITIE
  130. from .mixcloud import MixcloudIE
  131. from .mpora import MporaIE
  132. from .mofosex import MofosexIE
  133. from .mooshare import MooshareIE
  134. from .mtv import (
  135. MTVIE,
  136. MTVIggyIE,
  137. )
  138. from .muzu import MuzuTVIE
  139. from .myspace import MySpaceIE
  140. from .myspass import MySpassIE
  141. from .myvideo import MyVideoIE
  142. from .naver import NaverIE
  143. from .nba import NBAIE
  144. from .nbc import NBCNewsIE
  145. from .ndtv import NDTVIE
  146. from .newgrounds import NewgroundsIE
  147. from .nfb import NFBIE
  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']