__init__.py 6.8 KB

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