__init__.py 4.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169
  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 (
  22. DailymotionIE,
  23. DailymotionPlaylistIE,
  24. DailymotionUserIE,
  25. )
  26. from .daum import DaumIE
  27. from .depositfiles import DepositFilesIE
  28. from .dotsub import DotsubIE
  29. from .dreisat import DreiSatIE
  30. from .defense import DefenseGouvFrIE
  31. from .ebaumsworld import EbaumsWorldIE
  32. from .ehow import EHowIE
  33. from .eighttracks import EightTracksIE
  34. from .escapist import EscapistIE
  35. from .exfm import ExfmIE
  36. from .facebook import FacebookIE
  37. from .fktv import (
  38. FKTVIE,
  39. FKTVPosteckeIE,
  40. )
  41. from .flickr import FlickrIE
  42. from .francetv import (
  43. PluzzIE,
  44. FranceTvInfoIE,
  45. France2IE,
  46. GenerationQuoiIE
  47. )
  48. from .freesound import FreesoundIE
  49. from .funnyordie import FunnyOrDieIE
  50. from .gamespot import GameSpotIE
  51. from .gametrailers import GametrailersIE
  52. from .generic import GenericIE
  53. from .googleplus import GooglePlusIE
  54. from .googlesearch import GoogleSearchIE
  55. from .hark import HarkIE
  56. from .hotnewhiphop import HotNewHipHopIE
  57. from .howcast import HowcastIE
  58. from .hypem import HypemIE
  59. from .ign import IGNIE, OneUPIE
  60. from .ina import InaIE
  61. from .infoq import InfoQIE
  62. from .instagram import InstagramIE
  63. from .jeuxvideo import JeuxVideoIE
  64. from .jukebox import JukeboxIE
  65. from .justintv import JustinTVIE
  66. from .kankan import KankanIE
  67. from .kickstarter import KickStarterIE
  68. from .keek import KeekIE
  69. from .liveleak import LiveLeakIE
  70. from .livestream import LivestreamIE
  71. from .metacafe import MetacafeIE
  72. from .metacritic import MetacriticIE
  73. from .mit import TechTVMITIE, MITIE
  74. from .mixcloud import MixcloudIE
  75. from .mtv import MTVIE
  76. from .muzu import MuzuTVIE
  77. from .myspass import MySpassIE
  78. from .myvideo import MyVideoIE
  79. from .naver import NaverIE
  80. from .nba import NBAIE
  81. from .nbc import NBCNewsIE
  82. from .newgrounds import NewgroundsIE
  83. from .nhl import NHLIE
  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 .viddler import ViddlerIE
  122. from .videofyme import VideofyMeIE
  123. from .vimeo import VimeoIE, VimeoChannelIE
  124. from .vine import VineIE
  125. from .wat import WatIE
  126. from .weibo import WeiboIE
  127. from .wimp import WimpIE
  128. from .worldstarhiphop import WorldStarHipHopIE
  129. from .xhamster import XHamsterIE
  130. from .xnxx import XNXXIE
  131. from .xvideos import XVideosIE
  132. from .yahoo import YahooIE, YahooSearchIE
  133. from .youjizz import YouJizzIE
  134. from .youku import YoukuIE
  135. from .youporn import YouPornIE
  136. from .youtube import (
  137. YoutubeIE,
  138. YoutubePlaylistIE,
  139. YoutubeSearchIE,
  140. YoutubeUserIE,
  141. YoutubeChannelIE,
  142. YoutubeShowIE,
  143. YoutubeSubscriptionsIE,
  144. YoutubeRecommendedIE,
  145. YoutubeTruncatedURLIE,
  146. YoutubeWatchLaterIE,
  147. YoutubeFavouritesIE,
  148. )
  149. from .zdf import ZDFIE
  150. _ALL_CLASSES = [
  151. klass
  152. for name, klass in globals().items()
  153. if name.endswith('IE') and name != 'GenericIE'
  154. ]
  155. _ALL_CLASSES.append(GenericIE)
  156. def gen_extractors():
  157. """ Return a list of an instance of every supported extractor.
  158. The order does matter; the first extractor matched is the one handling the URL.
  159. """
  160. return [klass() for klass in _ALL_CLASSES]
  161. def get_info_extractor(ie_name):
  162. """Returns the info extractor class with the given ie_name"""
  163. return globals()[ie_name+'IE']