__init__.py 4.5 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 .breakcom import BreakIE
  10. from .brightcove import BrightcoveIE
  11. from .c56 import C56IE
  12. from .canalplus import CanalplusIE
  13. from .canalc2 import Canalc2IE
  14. from .cnn import CNNIE
  15. from .collegehumor import CollegeHumorIE
  16. from .comedycentral import ComedyCentralIE
  17. from .condenast import CondeNastIE
  18. from .criterion import CriterionIE
  19. from .cspan import CSpanIE
  20. from .dailymotion import DailymotionIE, DailymotionPlaylistIE
  21. from .daum import DaumIE
  22. from .depositfiles import DepositFilesIE
  23. from .dotsub import DotsubIE
  24. from .dreisat import DreiSatIE
  25. from .defense import DefenseGouvFrIE
  26. from .ehow import EHowIE
  27. from .eighttracks import EightTracksIE
  28. from .escapist import EscapistIE
  29. from .exfm import ExfmIE
  30. from .facebook import FacebookIE
  31. from .fktv import (
  32. FKTVIE,
  33. FKTVPosteckeIE,
  34. )
  35. from .flickr import FlickrIE
  36. from .francetv import (
  37. PluzzIE,
  38. FranceTvInfoIE,
  39. )
  40. from .freesound import FreesoundIE
  41. from .funnyordie import FunnyOrDieIE
  42. from .gamespot import GameSpotIE
  43. from .gametrailers import GametrailersIE
  44. from .generic import GenericIE
  45. from .googleplus import GooglePlusIE
  46. from .googlesearch import GoogleSearchIE
  47. from .hark import HarkIE
  48. from .hotnewhiphop import HotNewHipHopIE
  49. from .howcast import HowcastIE
  50. from .hypem import HypemIE
  51. from .ign import IGNIE, OneUPIE
  52. from .ina import InaIE
  53. from .infoq import InfoQIE
  54. from .instagram import InstagramIE
  55. from .jeuxvideo import JeuxVideoIE
  56. from .jukebox import JukeboxIE
  57. from .justintv import JustinTVIE
  58. from .kankan import KankanIE
  59. from .kickstarter import KickStarterIE
  60. from .keek import KeekIE
  61. from .liveleak import LiveLeakIE
  62. from .livestream import LivestreamIE
  63. from .metacafe import MetacafeIE
  64. from .metacritic import MetacriticIE
  65. from .mit import TechTVMITIE, MITIE
  66. from .mixcloud import MixcloudIE
  67. from .mtv import MTVIE
  68. from .muzu import MuzuTVIE
  69. from .myspass import MySpassIE
  70. from .myvideo import MyVideoIE
  71. from .naver import NaverIE
  72. from .nba import NBAIE
  73. from .nbc import NBCNewsIE
  74. from .ooyala import OoyalaIE
  75. from .orf import ORFIE
  76. from .pbs import PBSIE
  77. from .photobucket import PhotobucketIE
  78. from .pornotube import PornotubeIE
  79. from .rbmaradio import RBMARadioIE
  80. from .redtube import RedTubeIE
  81. from .ringtv import RingTVIE
  82. from .ro220 import Ro220IE
  83. from .roxwel import RoxwelIE
  84. from .rtlnow import RTLnowIE
  85. from .sina import SinaIE
  86. from .slashdot import SlashdotIE
  87. from .slideshare import SlideshareIE
  88. from .sohu import SohuIE
  89. from .soundcloud import SoundcloudIE, SoundcloudSetIE
  90. from .spiegel import SpiegelIE
  91. from .stanfordoc import StanfordOpenClassroomIE
  92. from .statigram import StatigramIE
  93. from .steam import SteamIE
  94. from .teamcoco import TeamcocoIE
  95. from .ted import TEDIE
  96. from .tf1 import TF1IE
  97. from .thisav import ThisAVIE
  98. from .traileraddict import TrailerAddictIE
  99. from .trilulilu import TriluliluIE
  100. from .tudou import TudouIE
  101. from .tumblr import TumblrIE
  102. from .tutv import TutvIE
  103. from .unistra import UnistraIE
  104. from .ustream import UstreamIE, UstreamChannelIE
  105. from .vbox7 import Vbox7IE
  106. from .veehd import VeeHDIE
  107. from .veoh import VeohIE
  108. from .vevo import VevoIE
  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']