__init__.py 7.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264
  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 .khanacademy import KhanAcademyIE
  102. from .kickstarter import KickStarterIE
  103. from .keek import KeekIE
  104. from .liveleak import LiveLeakIE
  105. from .livestream import LivestreamIE, LivestreamOriginalIE
  106. from .lynda import (
  107. LyndaIE,
  108. LyndaCourseIE
  109. )
  110. from .macgamestore import MacGameStoreIE
  111. from .mdr import MDRIE
  112. from .metacafe import MetacafeIE
  113. from .metacritic import MetacriticIE
  114. from .mit import TechTVMITIE, MITIE
  115. from .mixcloud import MixcloudIE
  116. from .mpora import MporaIE
  117. from .mofosex import MofosexIE
  118. from .mtv import MTVIE
  119. from .muzu import MuzuTVIE
  120. from .myspace import MySpaceIE
  121. from .myspass import MySpassIE
  122. from .myvideo import MyVideoIE
  123. from .naver import NaverIE
  124. from .nba import NBAIE
  125. from .nbc import NBCNewsIE
  126. from .ndtv import NDTVIE
  127. from .newgrounds import NewgroundsIE
  128. from .nhl import NHLIE, NHLVideocenterIE
  129. from .niconico import NiconicoIE
  130. from .ninegag import NineGagIE
  131. from .novamov import NovamovIE
  132. from .nowvideo import NowVideoIE
  133. from .ooyala import OoyalaIE
  134. from .orf import ORFIE
  135. from .pbs import PBSIE
  136. from .photobucket import PhotobucketIE
  137. from .podomatic import PodomaticIE
  138. from .pornhd import PornHdIE
  139. from .pornhub import PornHubIE
  140. from .pornotube import PornotubeIE
  141. from .pyvideo import PyvideoIE
  142. from .radiofrance import RadioFranceIE
  143. from .rbmaradio import RBMARadioIE
  144. from .redtube import RedTubeIE
  145. from .ringtv import RingTVIE
  146. from .ro220 import Ro220IE
  147. from .rottentomatoes import RottenTomatoesIE
  148. from .roxwel import RoxwelIE
  149. from .rtlnow import RTLnowIE
  150. from .rutube import RutubeIE
  151. from .sina import SinaIE
  152. from .slashdot import SlashdotIE
  153. from .slideshare import SlideshareIE
  154. from .smotri import (
  155. SmotriIE,
  156. SmotriCommunityIE,
  157. SmotriUserIE,
  158. SmotriBroadcastIE,
  159. )
  160. from .sohu import SohuIE
  161. from .soundcloud import SoundcloudIE, SoundcloudSetIE, SoundcloudUserIE
  162. from .southparkstudios import (
  163. SouthParkStudiosIE,
  164. SouthparkDeIE,
  165. )
  166. from .space import SpaceIE
  167. from .spankwire import SpankwireIE
  168. from .spiegel import SpiegelIE
  169. from .stanfordoc import StanfordOpenClassroomIE
  170. from .statigram import StatigramIE
  171. from .steam import SteamIE
  172. from .streamcloud import StreamcloudIE
  173. from .sztvhu import SztvHuIE
  174. from .teamcoco import TeamcocoIE
  175. from .techtalks import TechTalksIE
  176. from .ted import TEDIE
  177. from .tf1 import TF1IE
  178. from .theplatform import ThePlatformIE
  179. from .thisav import ThisAVIE
  180. from .toutv import TouTvIE
  181. from .traileraddict import TrailerAddictIE
  182. from .trilulilu import TriluliluIE
  183. from .tube8 import Tube8IE
  184. from .tudou import TudouIE
  185. from .tumblr import TumblrIE
  186. from .tutv import TutvIE
  187. from .tvp import TvpIE
  188. from .unistra import UnistraIE
  189. from .ustream import UstreamIE, UstreamChannelIE
  190. from .vbox7 import Vbox7IE
  191. from .veehd import VeeHDIE
  192. from .veoh import VeohIE
  193. from .vevo import VevoIE
  194. from .vice import ViceIE
  195. from .viddler import ViddlerIE
  196. from .videodetective import VideoDetectiveIE
  197. from .videofyme import VideofyMeIE
  198. from .videopremium import VideoPremiumIE
  199. from .vimeo import (
  200. VimeoIE,
  201. VimeoChannelIE,
  202. VimeoUserIE,
  203. VimeoAlbumIE,
  204. VimeoGroupsIE,
  205. VimeoReviewIE,
  206. )
  207. from .vine import VineIE
  208. from .viki import VikiIE
  209. from .vk import VKIE
  210. from .wat import WatIE
  211. from .websurg import WeBSurgIE
  212. from .weibo import WeiboIE
  213. from .wimp import WimpIE
  214. from .wistia import WistiaIE
  215. from .worldstarhiphop import WorldStarHipHopIE
  216. from .xhamster import XHamsterIE
  217. from .xnxx import XNXXIE
  218. from .xvideos import XVideosIE
  219. from .xtube import XTubeIE
  220. from .yahoo import (
  221. YahooIE,
  222. YahooNewsIE,
  223. YahooSearchIE,
  224. )
  225. from .youjizz import YouJizzIE
  226. from .youku import YoukuIE
  227. from .youporn import YouPornIE
  228. from .youtube import (
  229. YoutubeIE,
  230. YoutubePlaylistIE,
  231. YoutubeSearchIE,
  232. YoutubeSearchDateIE,
  233. YoutubeUserIE,
  234. YoutubeChannelIE,
  235. YoutubeShowIE,
  236. YoutubeSubscriptionsIE,
  237. YoutubeRecommendedIE,
  238. YoutubeTruncatedURLIE,
  239. YoutubeWatchLaterIE,
  240. YoutubeFavouritesIE,
  241. YoutubeHistoryIE,
  242. YoutubeTopListIE,
  243. )
  244. from .zdf import ZDFIE
  245. _ALL_CLASSES = [
  246. klass
  247. for name, klass in globals().items()
  248. if name.endswith('IE') and name != 'GenericIE'
  249. ]
  250. _ALL_CLASSES.append(GenericIE)
  251. def gen_extractors():
  252. """ Return a list of an instance of every supported extractor.
  253. The order does matter; the first extractor matched is the one handling the URL.
  254. """
  255. return [klass() for klass in _ALL_CLASSES]
  256. def get_info_extractor(ie_name):
  257. """Returns the info extractor class with the given ie_name"""
  258. return globals()[ie_name+'IE']