__init__.py 7.2 KB

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