__init__.py 4.8 KB

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