__init__.py 6.8 KB

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