__init__.py 4.6 KB

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