__init__.py 5.1 KB

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