__init__.py 7.1 KB

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