__init__.py 9.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358
  1. from .academicearth import AcademicEarthCourseIE
  2. from .addanime import AddAnimeIE
  3. from .aftonbladet import AftonbladetIE
  4. from .anitube import AnitubeIE
  5. from .aol import AolIE
  6. from .aparat import AparatIE
  7. from .appletrailers import AppleTrailersIE
  8. from .archiveorg import ArchiveOrgIE
  9. from .ard import ARDIE
  10. from .arte import (
  11. ArteTvIE,
  12. ArteTVPlus7IE,
  13. ArteTVCreativeIE,
  14. ArteTVConcertIE,
  15. ArteTVFutureIE,
  16. ArteTVDDCIE,
  17. ArteTVEmbedIE,
  18. )
  19. from .auengine import AUEngineIE
  20. from .bambuser import BambuserIE, BambuserChannelIE
  21. from .bandcamp import BandcampIE, BandcampAlbumIE
  22. from .bbccouk import BBCCoUkIE
  23. from .blinkx import BlinkxIE
  24. from .bliptv import BlipTVIE, BlipTVUserIE
  25. from .bloomberg import BloombergIE
  26. from .br import BRIE
  27. from .breakcom import BreakIE
  28. from .brightcove import BrightcoveIE
  29. from .byutv import BYUtvIE
  30. from .c56 import C56IE
  31. from .canal13cl import Canal13clIE
  32. from .canalplus import CanalplusIE
  33. from .canalc2 import Canalc2IE
  34. from .cbs import CBSIE
  35. from .cbsnews import CBSNewsIE
  36. from .ceskatelevize import CeskaTelevizeIE
  37. from .channel9 import Channel9IE
  38. from .chilloutzone import ChilloutzoneIE
  39. from .cinemassacre import CinemassacreIE
  40. from .clipfish import ClipfishIE
  41. from .cliphunter import CliphunterIE
  42. from .clipsyndicate import ClipsyndicateIE
  43. from .cmt import CMTIE
  44. from .cnet import CNETIE
  45. from .cnn import (
  46. CNNIE,
  47. CNNBlogsIE,
  48. )
  49. from .collegehumor import CollegeHumorIE
  50. from .comedycentral import ComedyCentralIE, ComedyCentralShowsIE
  51. from .condenast import CondeNastIE
  52. from .criterion import CriterionIE
  53. from .crunchyroll import CrunchyrollIE
  54. from .cspan import CSpanIE
  55. from .d8 import D8IE
  56. from .dailymotion import (
  57. DailymotionIE,
  58. DailymotionPlaylistIE,
  59. DailymotionUserIE,
  60. )
  61. from .daum import DaumIE
  62. from .dotsub import DotsubIE
  63. from .dreisat import DreiSatIE
  64. from .defense import DefenseGouvFrIE
  65. from .discovery import DiscoveryIE
  66. from .divxstage import DivxStageIE
  67. from .dropbox import DropboxIE
  68. from .ebaumsworld import EbaumsWorldIE
  69. from .ehow import EHowIE
  70. from .eighttracks import EightTracksIE
  71. from .eitb import EitbIE
  72. from .elpais import ElPaisIE
  73. from .engadget import EngadgetIE
  74. from .escapist import EscapistIE
  75. from .everyonesmixtape import EveryonesMixtapeIE
  76. from .exfm import ExfmIE
  77. from .extremetube import ExtremeTubeIE
  78. from .facebook import FacebookIE
  79. from .faz import FazIE
  80. from .firstpost import FirstpostIE
  81. from .firsttv import FirstTVIE
  82. from .fivemin import FiveMinIE
  83. from .fktv import (
  84. FKTVIE,
  85. FKTVPosteckeIE,
  86. )
  87. from .flickr import FlickrIE
  88. from .fourtube import FourTubeIE
  89. from .franceculture import FranceCultureIE
  90. from .franceinter import FranceInterIE
  91. from .francetv import (
  92. PluzzIE,
  93. FranceTvInfoIE,
  94. FranceTVIE,
  95. GenerationQuoiIE,
  96. CultureboxIE,
  97. )
  98. from .freesound import FreesoundIE
  99. from .freespeech import FreespeechIE
  100. from .funnyordie import FunnyOrDieIE
  101. from .gamekings import GamekingsIE
  102. from .gamespot import GameSpotIE
  103. from .gametrailers import GametrailersIE
  104. from .gdcvault import GDCVaultIE
  105. from .generic import GenericIE
  106. from .googleplus import GooglePlusIE
  107. from .googlesearch import GoogleSearchIE
  108. from .hark import HarkIE
  109. from .helsinki import HelsinkiIE
  110. from .hotnewhiphop import HotNewHipHopIE
  111. from .howcast import HowcastIE
  112. from .huffpost import HuffPostIE
  113. from .hypem import HypemIE
  114. from .ign import IGNIE, OneUPIE
  115. from .imdb import (
  116. ImdbIE,
  117. ImdbListIE
  118. )
  119. from .ina import InaIE
  120. from .infoq import InfoQIE
  121. from .instagram import InstagramIE, InstagramUserIE
  122. from .internetvideoarchive import InternetVideoArchiveIE
  123. from .iprima import IPrimaIE
  124. from .ivi import (
  125. IviIE,
  126. IviCompilationIE
  127. )
  128. from .jadorecettepub import JadoreCettePubIE
  129. from .jeuxvideo import JeuxVideoIE
  130. from .jukebox import JukeboxIE
  131. from .justintv import JustinTVIE
  132. from .jpopsukitv import JpopsukiIE
  133. from .kankan import KankanIE
  134. from .keezmovies import KeezMoviesIE
  135. from .khanacademy import KhanAcademyIE
  136. from .kickstarter import KickStarterIE
  137. from .keek import KeekIE
  138. from .kontrtube import KontrTubeIE
  139. from .la7 import LA7IE
  140. from .lifenews import LifeNewsIE
  141. from .liveleak import LiveLeakIE
  142. from .livestream import LivestreamIE, LivestreamOriginalIE
  143. from .lynda import (
  144. LyndaIE,
  145. LyndaCourseIE
  146. )
  147. from .m6 import M6IE
  148. from .macgamestore import MacGameStoreIE
  149. from .mailru import MailRuIE
  150. from .malemotion import MalemotionIE
  151. from .mdr import MDRIE
  152. from .metacafe import MetacafeIE
  153. from .metacritic import MetacriticIE
  154. from .mit import TechTVMITIE, MITIE, OCWMITIE
  155. from .mixcloud import MixcloudIE
  156. from .mpora import MporaIE
  157. from .mofosex import MofosexIE
  158. from .mooshare import MooshareIE
  159. from .morningstar import MorningstarIE
  160. from .motorsport import MotorsportIE
  161. from .movshare import MovShareIE
  162. from .mtv import (
  163. MTVIE,
  164. MTVIggyIE,
  165. )
  166. from .musicplayon import MusicPlayOnIE
  167. from .muzu import MuzuTVIE
  168. from .myspace import MySpaceIE
  169. from .myspass import MySpassIE
  170. from .myvideo import MyVideoIE
  171. from .naver import NaverIE
  172. from .nba import NBAIE
  173. from .nbc import (
  174. NBCIE,
  175. NBCNewsIE,
  176. )
  177. from .ndr import NDRIE
  178. from .ndtv import NDTVIE
  179. from .newgrounds import NewgroundsIE
  180. from .nfb import NFBIE
  181. from .nhl import NHLIE, NHLVideocenterIE
  182. from .niconico import NiconicoIE
  183. from .ninegag import NineGagIE
  184. from .noco import NocoIE
  185. from .normalboots import NormalbootsIE
  186. from .novamov import NovaMovIE
  187. from .nowness import NownessIE
  188. from .nowvideo import NowVideoIE
  189. from .ntv import NTVIE
  190. from .oe1 import OE1IE
  191. from .ooyala import OoyalaIE
  192. from .orf import ORFIE
  193. from .parliamentliveuk import ParliamentLiveUKIE
  194. from .pbs import PBSIE
  195. from .photobucket import PhotobucketIE
  196. from .playvid import PlayvidIE
  197. from .podomatic import PodomaticIE
  198. from .pornhd import PornHdIE
  199. from .pornhub import PornHubIE
  200. from .pornotube import PornotubeIE
  201. from .prosiebensat1 import ProSiebenSat1IE
  202. from .pyvideo import PyvideoIE
  203. from .radiofrance import RadioFranceIE
  204. from .rbmaradio import RBMARadioIE
  205. from .redtube import RedTubeIE
  206. from .ringtv import RingTVIE
  207. from .ro220 import Ro220IE
  208. from .rottentomatoes import RottenTomatoesIE
  209. from .roxwel import RoxwelIE
  210. from .rtlnow import RTLnowIE
  211. from .rts import RTSIE
  212. from .rtve import RTVEALaCartaIE
  213. from .rutube import (
  214. RutubeIE,
  215. RutubeChannelIE,
  216. RutubeMovieIE,
  217. RutubePersonIE,
  218. )
  219. from .rutv import RUTVIE
  220. from .savefrom import SaveFromIE
  221. from .servingsys import ServingSysIE
  222. from .sina import SinaIE
  223. from .slideshare import SlideshareIE
  224. from .smotri import (
  225. SmotriIE,
  226. SmotriCommunityIE,
  227. SmotriUserIE,
  228. SmotriBroadcastIE,
  229. )
  230. from .sohu import SohuIE
  231. from .soundcloud import SoundcloudIE, SoundcloudSetIE, SoundcloudUserIE
  232. from .southparkstudios import (
  233. SouthParkStudiosIE,
  234. SouthparkDeIE,
  235. )
  236. from .space import SpaceIE
  237. from .spankwire import SpankwireIE
  238. from .spiegel import SpiegelIE
  239. from .spike import SpikeIE
  240. from .stanfordoc import StanfordOpenClassroomIE
  241. from .statigram import StatigramIE
  242. from .steam import SteamIE
  243. from .streamcloud import StreamcloudIE
  244. from .streamcz import StreamCZIE
  245. from .syfy import SyfyIE
  246. from .sztvhu import SztvHuIE
  247. from .teamcoco import TeamcocoIE
  248. from .techtalks import TechTalksIE
  249. from .ted import TEDIE
  250. from .testurl import TestURLIE
  251. from .tf1 import TF1IE
  252. from .theplatform import ThePlatformIE
  253. from .thisav import ThisAVIE
  254. from .tinypic import TinyPicIE
  255. from .tlc import TlcIE, TlcDeIE
  256. from .toutv import TouTvIE
  257. from .toypics import ToypicsUserIE, ToypicsIE
  258. from .traileraddict import TrailerAddictIE
  259. from .trilulilu import TriluliluIE
  260. from .trutube import TruTubeIE
  261. from .tube8 import Tube8IE
  262. from .tudou import TudouIE
  263. from .tumblr import TumblrIE
  264. from .tutv import TutvIE
  265. from .tvigle import TvigleIE
  266. from .tvp import TvpIE
  267. from .udemy import (
  268. UdemyIE,
  269. UdemyCourseIE
  270. )
  271. from .unistra import UnistraIE
  272. from .urort import UrortIE
  273. from .ustream import UstreamIE, UstreamChannelIE
  274. from .vbox7 import Vbox7IE
  275. from .veehd import VeeHDIE
  276. from .veoh import VeohIE
  277. from .vesti import VestiIE
  278. from .vevo import VevoIE
  279. from .viddler import ViddlerIE
  280. from .videobam import VideoBamIE
  281. from .videodetective import VideoDetectiveIE
  282. from .videolecturesnet import VideoLecturesNetIE
  283. from .videofyme import VideofyMeIE
  284. from .videopremium import VideoPremiumIE
  285. from .videoweed import VideoWeedIE
  286. from .vimeo import (
  287. VimeoIE,
  288. VimeoChannelIE,
  289. VimeoUserIE,
  290. VimeoAlbumIE,
  291. VimeoGroupsIE,
  292. VimeoReviewIE,
  293. )
  294. from .vine import VineIE
  295. from .viki import VikiIE
  296. from .vk import VKIE
  297. from .vube import VubeIE
  298. from .washingtonpost import WashingtonPostIE
  299. from .wat import WatIE
  300. from .wdr import (
  301. WDRIE,
  302. WDRMausIE,
  303. )
  304. from .weibo import WeiboIE
  305. from .wimp import WimpIE
  306. from .wistia import WistiaIE
  307. from .worldstarhiphop import WorldStarHipHopIE
  308. from .xbef import XBefIE
  309. from .xhamster import XHamsterIE
  310. from .xnxx import XNXXIE
  311. from .xvideos import XVideosIE
  312. from .xtube import XTubeUserIE, XTubeIE
  313. from .yahoo import (
  314. YahooIE,
  315. YahooNewsIE,
  316. YahooSearchIE,
  317. )
  318. from .youjizz import YouJizzIE
  319. from .youku import YoukuIE
  320. from .youporn import YouPornIE
  321. from .youtube import (
  322. YoutubeIE,
  323. YoutubeChannelIE,
  324. YoutubeFavouritesIE,
  325. YoutubeHistoryIE,
  326. YoutubePlaylistIE,
  327. YoutubeRecommendedIE,
  328. YoutubeSearchDateIE,
  329. YoutubeSearchIE,
  330. YoutubeSearchURLIE,
  331. YoutubeShowIE,
  332. YoutubeSubscriptionsIE,
  333. YoutubeTopListIE,
  334. YoutubeTruncatedURLIE,
  335. YoutubeUserIE,
  336. YoutubeWatchLaterIE,
  337. )
  338. from .zdf import ZDFIE
  339. _ALL_CLASSES = [
  340. klass
  341. for name, klass in globals().items()
  342. if name.endswith('IE') and name != 'GenericIE'
  343. ]
  344. _ALL_CLASSES.append(GenericIE)
  345. def gen_extractors():
  346. """ Return a list of an instance of every supported extractor.
  347. The order does matter; the first extractor matched is the one handling the URL.
  348. """
  349. return [klass() for klass in _ALL_CLASSES]
  350. def get_info_extractor(ie_name):
  351. """Returns the info extractor class with the given ie_name"""
  352. return globals()[ie_name+'IE']