__init__.py 5.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193
  1. from .appletrailers import AppleTrailersIE
  2. from .addanime import AddAnimeIE
  3. from .archiveorg import ArchiveOrgIE
  4. from .ard import ARDIE
  5. from .arte import (
  6. ArteTvIE,
  7. ArteTVPlus7IE,
  8. ArteTVCreativeIE,
  9. ArteTVFutureIE,
  10. )
  11. from .auengine import AUEngineIE
  12. from .bambuser import BambuserIE, BambuserChannelIE
  13. from .bandcamp import BandcampIE
  14. from .bliptv import BlipTVIE, BlipTVUserIE
  15. from .bloomberg import BloombergIE
  16. from .breakcom import BreakIE
  17. from .brightcove import BrightcoveIE
  18. from .c56 import C56IE
  19. from .canalplus import CanalplusIE
  20. from .canalc2 import Canalc2IE
  21. from .cinemassacre import CinemassacreIE
  22. from .cnn import CNNIE
  23. from .collegehumor import CollegeHumorIE
  24. from .comedycentral import ComedyCentralIE
  25. from .condenast import CondeNastIE
  26. from .criterion import CriterionIE
  27. from .cspan import CSpanIE
  28. from .dailymotion import (
  29. DailymotionIE,
  30. DailymotionPlaylistIE,
  31. DailymotionUserIE,
  32. )
  33. from .daum import DaumIE
  34. from .depositfiles import DepositFilesIE
  35. from .dotsub import DotsubIE
  36. from .dreisat import DreiSatIE
  37. from .defense import DefenseGouvFrIE
  38. from .ebaumsworld import EbaumsWorldIE
  39. from .ehow import EHowIE
  40. from .eighttracks import EightTracksIE
  41. from .escapist import EscapistIE
  42. from .exfm import ExfmIE
  43. from .extremetube import ExtremeTubeIE
  44. from .facebook import FacebookIE
  45. from .faz import FazIE
  46. from .fktv import (
  47. FKTVIE,
  48. FKTVPosteckeIE,
  49. )
  50. from .flickr import FlickrIE
  51. from .francetv import (
  52. PluzzIE,
  53. FranceTvInfoIE,
  54. France2IE,
  55. GenerationQuoiIE
  56. )
  57. from .freesound import FreesoundIE
  58. from .funnyordie import FunnyOrDieIE
  59. from .gamespot import GameSpotIE
  60. from .gametrailers import GametrailersIE
  61. from .generic import GenericIE
  62. from .googleplus import GooglePlusIE
  63. from .googlesearch import GoogleSearchIE
  64. from .hark import HarkIE
  65. from .hotnewhiphop import HotNewHipHopIE
  66. from .howcast import HowcastIE
  67. from .hypem import HypemIE
  68. from .ign import IGNIE, OneUPIE
  69. from .ina import InaIE
  70. from .infoq import InfoQIE
  71. from .instagram import InstagramIE
  72. from .internetvideoarchive import InternetVideoArchiveIE
  73. from .jeuxvideo import JeuxVideoIE
  74. from .jukebox import JukeboxIE
  75. from .justintv import JustinTVIE
  76. from .kankan import KankanIE
  77. from .keezmovies import KeezMoviesIE
  78. from .kickstarter import KickStarterIE
  79. from .keek import KeekIE
  80. from .liveleak import LiveLeakIE
  81. from .livestream import LivestreamIE
  82. from .metacafe import MetacafeIE
  83. from .metacritic import MetacriticIE
  84. from .mit import TechTVMITIE, MITIE
  85. from .mixcloud import MixcloudIE
  86. from .mtv import MTVIE
  87. from .muzu import MuzuTVIE
  88. from .myspace import MySpaceIE
  89. from .myspass import MySpassIE
  90. from .myvideo import MyVideoIE
  91. from .naver import NaverIE
  92. from .nba import NBAIE
  93. from .nbc import NBCNewsIE
  94. from .newgrounds import NewgroundsIE
  95. from .nhl import NHLIE, NHLVideocenterIE
  96. from .nowvideo import NowVideoIE
  97. from .ooyala import OoyalaIE
  98. from .orf import ORFIE
  99. from .pbs import PBSIE
  100. from .photobucket import PhotobucketIE
  101. from .pornhub import PornHubIE
  102. from .pornotube import PornotubeIE
  103. from .rbmaradio import RBMARadioIE
  104. from .redtube import RedTubeIE
  105. from .ringtv import RingTVIE
  106. from .ro220 import Ro220IE
  107. from .rottentomatoes import RottenTomatoesIE
  108. from .roxwel import RoxwelIE
  109. from .rtlnow import RTLnowIE
  110. from .rutube import RutubeIE
  111. from .sina import SinaIE
  112. from .slashdot import SlashdotIE
  113. from .slideshare import SlideshareIE
  114. from .sohu import SohuIE
  115. from .soundcloud import SoundcloudIE, SoundcloudSetIE, SoundcloudUserIE
  116. from .southparkstudios import SouthParkStudiosIE
  117. from .spankwire import SpankwireIE
  118. from .spiegel import SpiegelIE
  119. from .stanfordoc import StanfordOpenClassroomIE
  120. from .statigram import StatigramIE
  121. from .steam import SteamIE
  122. from .sztvhu import SztvHuIE
  123. from .teamcoco import TeamcocoIE
  124. from .techtalks import TechTalksIE
  125. from .ted import TEDIE
  126. from .tf1 import TF1IE
  127. from .thisav import ThisAVIE
  128. from .traileraddict import TrailerAddictIE
  129. from .trilulilu import TriluliluIE
  130. from .tube8 import Tube8IE
  131. from .tudou import TudouIE
  132. from .tumblr import TumblrIE
  133. from .tutv import TutvIE
  134. from .unistra import UnistraIE
  135. from .ustream import UstreamIE, UstreamChannelIE
  136. from .vbox7 import Vbox7IE
  137. from .veehd import VeeHDIE
  138. from .veoh import VeohIE
  139. from .vevo import VevoIE
  140. from .vice import ViceIE
  141. from .viddler import ViddlerIE
  142. from .videodetective import VideoDetectiveIE
  143. from .videofyme import VideofyMeIE
  144. from .videopremium import VideoPremiumIE
  145. from .vimeo import VimeoIE, VimeoChannelIE
  146. from .vine import VineIE
  147. from .vk import VKIE
  148. from .wat import WatIE
  149. from .websurg import WeBSurgIE
  150. from .weibo import WeiboIE
  151. from .wimp import WimpIE
  152. from .worldstarhiphop import WorldStarHipHopIE
  153. from .xhamster import XHamsterIE
  154. from .xnxx import XNXXIE
  155. from .xvideos import XVideosIE
  156. from .yahoo import YahooIE, YahooSearchIE
  157. from .youjizz import YouJizzIE
  158. from .youku import YoukuIE
  159. from .youporn import YouPornIE
  160. from .youtube import (
  161. YoutubeIE,
  162. YoutubePlaylistIE,
  163. YoutubeSearchIE,
  164. YoutubeUserIE,
  165. YoutubeChannelIE,
  166. YoutubeShowIE,
  167. YoutubeSubscriptionsIE,
  168. YoutubeRecommendedIE,
  169. YoutubeTruncatedURLIE,
  170. YoutubeWatchLaterIE,
  171. YoutubeFavouritesIE,
  172. )
  173. from .zdf import ZDFIE
  174. _ALL_CLASSES = [
  175. klass
  176. for name, klass in globals().items()
  177. if name.endswith('IE') and name != 'GenericIE'
  178. ]
  179. _ALL_CLASSES.append(GenericIE)
  180. def gen_extractors():
  181. """ Return a list of an instance of every supported extractor.
  182. The order does matter; the first extractor matched is the one handling the URL.
  183. """
  184. return [klass() for klass in _ALL_CLASSES]
  185. def get_info_extractor(ie_name):
  186. """Returns the info extractor class with the given ie_name"""
  187. return globals()[ie_name+'IE']