__init__.py 6.5 KB

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