1
0

__init__.py 6.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213
  1. from .appletrailers import AppleTrailersIE
  2. from .addanime import AddAnimeIE
  3. from .anitube import AnitubeIE
  4. from .archiveorg import ArchiveOrgIE
  5. from .ard import ARDIE
  6. from .arte import (
  7. ArteTvIE,
  8. ArteTVPlus7IE,
  9. ArteTVCreativeIE,
  10. ArteTVFutureIE,
  11. )
  12. from .auengine import AUEngineIE
  13. from .bambuser import BambuserIE, BambuserChannelIE
  14. from .bandcamp import BandcampIE, BandcampAlbumIE
  15. from .bliptv import BlipTVIE, BlipTVUserIE
  16. from .bloomberg import BloombergIE
  17. from .breakcom import BreakIE
  18. from .brightcove import BrightcoveIE
  19. from .c56 import C56IE
  20. from .canalplus import CanalplusIE
  21. from .canalc2 import Canalc2IE
  22. from .cinemassacre import CinemassacreIE
  23. from .clipfish import ClipfishIE
  24. from .clipsyndicate import ClipsyndicateIE
  25. from .cnn import CNNIE
  26. from .collegehumor import CollegeHumorIE
  27. from .comedycentral import ComedyCentralIE, ComedyCentralShowsIE
  28. from .condenast import CondeNastIE
  29. from .criterion import CriterionIE
  30. from .cspan import CSpanIE
  31. from .d8 import D8IE
  32. from .dailymotion import (
  33. DailymotionIE,
  34. DailymotionPlaylistIE,
  35. DailymotionUserIE,
  36. )
  37. from .daum import DaumIE
  38. from .depositfiles import DepositFilesIE
  39. from .dotsub import DotsubIE
  40. from .dreisat import DreiSatIE
  41. from .defense import DefenseGouvFrIE
  42. from .ebaumsworld import EbaumsWorldIE
  43. from .ehow import EHowIE
  44. from .eighttracks import EightTracksIE
  45. from .eitb import EitbIE
  46. from .escapist import EscapistIE
  47. from .exfm import ExfmIE
  48. from .extremetube import ExtremeTubeIE
  49. from .facebook import FacebookIE
  50. from .faz import FazIE
  51. from .fktv import (
  52. FKTVIE,
  53. FKTVPosteckeIE,
  54. )
  55. from .flickr import FlickrIE
  56. from .francetv import (
  57. PluzzIE,
  58. FranceTvInfoIE,
  59. France2IE,
  60. GenerationQuoiIE
  61. )
  62. from .freesound import FreesoundIE
  63. from .funnyordie import FunnyOrDieIE
  64. from .gamekings import GamekingsIE
  65. from .gamespot import GameSpotIE
  66. from .gametrailers import GametrailersIE
  67. from .generic import GenericIE
  68. from .googleplus import GooglePlusIE
  69. from .googlesearch import GoogleSearchIE
  70. from .hark import HarkIE
  71. from .hotnewhiphop import HotNewHipHopIE
  72. from .howcast import HowcastIE
  73. from .hypem import HypemIE
  74. from .ign import IGNIE, OneUPIE
  75. from .imdb import ImdbIE
  76. from .ina import InaIE
  77. from .infoq import InfoQIE
  78. from .instagram import InstagramIE
  79. from .internetvideoarchive import InternetVideoArchiveIE
  80. from .jeuxvideo import JeuxVideoIE
  81. from .jukebox import JukeboxIE
  82. from .justintv import JustinTVIE
  83. from .kankan import KankanIE
  84. from .keezmovies import KeezMoviesIE
  85. from .kickstarter import KickStarterIE
  86. from .keek import KeekIE
  87. from .liveleak import LiveLeakIE
  88. from .livestream import LivestreamIE, LivestreamOriginalIE
  89. from .metacafe import MetacafeIE
  90. from .metacritic import MetacriticIE
  91. from .mit import TechTVMITIE, MITIE
  92. from .mixcloud import MixcloudIE
  93. from .mofosex import MofosexIE
  94. from .mtv import MTVIE
  95. from .muzu import MuzuTVIE
  96. from .myspace import MySpaceIE
  97. from .myspass import MySpassIE
  98. from .myvideo import MyVideoIE
  99. from .naver import NaverIE
  100. from .nba import NBAIE
  101. from .nbc import NBCNewsIE
  102. from .newgrounds import NewgroundsIE
  103. from .nhl import NHLIE, NHLVideocenterIE
  104. from .niconico import NiconicoIE
  105. from .nowvideo import NowVideoIE
  106. from .ooyala import OoyalaIE
  107. from .orf import ORFIE
  108. from .pbs import PBSIE
  109. from .photobucket import PhotobucketIE
  110. from .pornhub import PornHubIE
  111. from .pornotube import PornotubeIE
  112. from .rbmaradio import RBMARadioIE
  113. from .redtube import RedTubeIE
  114. from .ringtv import RingTVIE
  115. from .ro220 import Ro220IE
  116. from .rottentomatoes import RottenTomatoesIE
  117. from .roxwel import RoxwelIE
  118. from .rtlnow import RTLnowIE
  119. from .rutube import RutubeIE
  120. from .sina import SinaIE
  121. from .slashdot import SlashdotIE
  122. from .slideshare import SlideshareIE
  123. from .sohu import SohuIE
  124. from .soundcloud import SoundcloudIE, SoundcloudSetIE, SoundcloudUserIE
  125. from .southparkstudios import (
  126. SouthParkStudiosIE,
  127. SouthparkDeIE,
  128. )
  129. from .space import SpaceIE
  130. from .spankwire import SpankwireIE
  131. from .spiegel import SpiegelIE
  132. from .stanfordoc import StanfordOpenClassroomIE
  133. from .statigram import StatigramIE
  134. from .steam import SteamIE
  135. from .streamcloud import StreamcloudIE
  136. from .sztvhu import SztvHuIE
  137. from .teamcoco import TeamcocoIE
  138. from .techtalks import TechTalksIE
  139. from .ted import TEDIE
  140. from .tf1 import TF1IE
  141. from .thisav import ThisAVIE
  142. from .toutv import TouTvIE
  143. from .traileraddict import TrailerAddictIE
  144. from .trilulilu import TriluliluIE
  145. from .tube8 import Tube8IE
  146. from .tudou import TudouIE
  147. from .tumblr import TumblrIE
  148. from .tutv import TutvIE
  149. from .tvp import TvpIE
  150. from .unistra import UnistraIE
  151. from .ustream import UstreamIE, UstreamChannelIE
  152. from .vbox7 import Vbox7IE
  153. from .veehd import VeeHDIE
  154. from .veoh import VeohIE
  155. from .vevo import VevoIE
  156. from .vice import ViceIE
  157. from .viddler import ViddlerIE
  158. from .videodetective import VideoDetectiveIE
  159. from .videofyme import VideofyMeIE
  160. from .videopremium import VideoPremiumIE
  161. from .vimeo import VimeoIE, VimeoChannelIE
  162. from .vine import VineIE
  163. from .viki import VikiIE
  164. from .vk import VKIE
  165. from .wat import WatIE
  166. from .websurg import WeBSurgIE
  167. from .weibo import WeiboIE
  168. from .wimp import WimpIE
  169. from .worldstarhiphop import WorldStarHipHopIE
  170. from .xhamster import XHamsterIE
  171. from .xnxx import XNXXIE
  172. from .xvideos import XVideosIE
  173. from .xtube import XTubeIE
  174. from .yahoo import YahooIE, YahooSearchIE
  175. from .youjizz import YouJizzIE
  176. from .youku import YoukuIE
  177. from .youporn import YouPornIE
  178. from .youtube import (
  179. YoutubeIE,
  180. YoutubePlaylistIE,
  181. YoutubeSearchIE,
  182. YoutubeSearchDateIE,
  183. YoutubeUserIE,
  184. YoutubeChannelIE,
  185. YoutubeShowIE,
  186. YoutubeSubscriptionsIE,
  187. YoutubeRecommendedIE,
  188. YoutubeTruncatedURLIE,
  189. YoutubeWatchLaterIE,
  190. YoutubeFavouritesIE,
  191. YoutubeHistoryIE,
  192. )
  193. from .zdf import ZDFIE
  194. _ALL_CLASSES = [
  195. klass
  196. for name, klass in globals().items()
  197. if name.endswith('IE') and name != 'GenericIE'
  198. ]
  199. _ALL_CLASSES.append(GenericIE)
  200. def gen_extractors():
  201. """ Return a list of an instance of every supported extractor.
  202. The order does matter; the first extractor matched is the one handling the URL.
  203. """
  204. return [klass() for klass in _ALL_CLASSES]
  205. def get_info_extractor(ie_name):
  206. """Returns the info extractor class with the given ie_name"""
  207. return globals()[ie_name+'IE']