__init__.py 6.7 KB

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