__init__.py 3.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127
  1. from .archiveorg import ArchiveOrgIE
  2. from .ard import ARDIE
  3. from .arte import ArteTvIE
  4. from .auengine import AUEngineIE
  5. from .bandcamp import BandcampIE
  6. from .bliptv import BlipTVIE, BlipTVUserIE
  7. from .breakcom import BreakIE
  8. from .brightcove import BrightcoveIE
  9. from .canalplus import CanalplusIE
  10. from .canalc2 import Canalc2IE
  11. from .collegehumor import CollegeHumorIE
  12. from .comedycentral import ComedyCentralIE
  13. from .condenast import CondeNastIE
  14. from .criterion import CriterionIE
  15. from .cspan import CSpanIE
  16. from .dailymotion import DailymotionIE, DailymotionPlaylistIE
  17. from .depositfiles import DepositFilesIE
  18. from .dotsub import DotsubIE
  19. from .dreisat import DreiSatIE
  20. from .ehow import EHowIE
  21. from .eighttracks import EightTracksIE
  22. from .escapist import EscapistIE
  23. from .exfm import ExfmIE
  24. from .facebook import FacebookIE
  25. from .flickr import FlickrIE
  26. from .freesound import FreesoundIE
  27. from .funnyordie import FunnyOrDieIE
  28. from .gamespot import GameSpotIE
  29. from .gametrailers import GametrailersIE
  30. from .generic import GenericIE
  31. from .googleplus import GooglePlusIE
  32. from .googlesearch import GoogleSearchIE
  33. from .hotnewhiphop import HotNewHipHopIE
  34. from .howcast import HowcastIE
  35. from .hypem import HypemIE
  36. from .ign import IGNIE, OneUPIE
  37. from .ina import InaIE
  38. from .infoq import InfoQIE
  39. from .instagram import InstagramIE
  40. from .jeuxvideo import JeuxVideoIE
  41. from .jukebox import JukeboxIE
  42. from .justintv import JustinTVIE
  43. from .kankan import KankanIE
  44. from .keek import KeekIE
  45. from .liveleak import LiveLeakIE
  46. from .livestream import LivestreamIE
  47. from .metacafe import MetacafeIE
  48. from .mixcloud import MixcloudIE
  49. from .mtv import MTVIE
  50. from .muzu import MuzuTVIE
  51. from .myspass import MySpassIE
  52. from .myvideo import MyVideoIE
  53. from .nba import NBAIE
  54. from .ooyala import OoyalaIE
  55. from .pbs import PBSIE
  56. from .photobucket import PhotobucketIE
  57. from .pornotube import PornotubeIE
  58. from .rbmaradio import RBMARadioIE
  59. from .redtube import RedTubeIE
  60. from .ringtv import RingTVIE
  61. from .roxwel import RoxwelIE
  62. from .rtlnow import RTLnowIE
  63. from .sina import SinaIE
  64. from .slashdot import SlashdotIE
  65. from .soundcloud import SoundcloudIE, SoundcloudSetIE
  66. from .spiegel import SpiegelIE
  67. from .stanfordoc import StanfordOpenClassroomIE
  68. from .statigram import StatigramIE
  69. from .steam import SteamIE
  70. from .teamcoco import TeamcocoIE
  71. from .ted import TEDIE
  72. from .tf1 import TF1IE
  73. from .thisav import ThisAVIE
  74. from .traileraddict import TrailerAddictIE
  75. from .tudou import TudouIE
  76. from .tumblr import TumblrIE
  77. from .tutv import TutvIE
  78. from .ustream import UstreamIE
  79. from .vbox7 import Vbox7IE
  80. from .veoh import VeohIE
  81. from .vevo import VevoIE
  82. from .videofyme import VideofyMeIE
  83. from .vimeo import VimeoIE, VimeoChannelIE
  84. from .vine import VineIE
  85. from .c56 import C56IE
  86. from .wat import WatIE
  87. from .weibo import WeiboIE
  88. from .wimp import WimpIE
  89. from .worldstarhiphop import WorldStarHipHopIE
  90. from .xhamster import XHamsterIE
  91. from .xnxx import XNXXIE
  92. from .xvideos import XVideosIE
  93. from .yahoo import YahooIE, YahooSearchIE
  94. from .youjizz import YouJizzIE
  95. from .youku import YoukuIE
  96. from .youporn import YouPornIE
  97. from .youtube import (
  98. YoutubeIE,
  99. YoutubePlaylistIE,
  100. YoutubeSearchIE,
  101. YoutubeUserIE,
  102. YoutubeChannelIE,
  103. YoutubeShowIE,
  104. YoutubeSubscriptionsIE,
  105. YoutubeRecommendedIE,
  106. YoutubeWatchLaterIE,
  107. YoutubeFavouritesIE,
  108. )
  109. from .zdf import ZDFIE
  110. _ALL_CLASSES = [
  111. klass
  112. for name, klass in globals().items()
  113. if name.endswith('IE') and name != 'GenericIE'
  114. ]
  115. _ALL_CLASSES.append(GenericIE)
  116. def gen_extractors():
  117. """ Return a list of an instance of every supported extractor.
  118. The order does matter; the first extractor matched is the one handling the URL.
  119. """
  120. return [klass() for klass in _ALL_CLASSES]
  121. def get_info_extractor(ie_name):
  122. """Returns the info extractor class with the given ie_name"""
  123. return globals()[ie_name+'IE']