Skip to content

lgaticaq/anime-dl

Repository files navigation

anime-dl

npm version npm downloads Build Status Coverage Status Code Climate dependency Status devDependency Status

Search and get anime video url

Installation

npm i -S anime-dl

Use

Try on Tonic

const anime = require('anime-dl')

const name: 'one piece'
const chapter = '732'
anime.getLinksByNameAndChapter(name, chapter).then(console.log)
/*{
  title: 'One Piece',
  codeName: 'one-piece',
  chapter: '732',
  urls: [
    'http://jkanime.net/stream/jkmedia/83b83090f08cbe7823cb0ed531f8cc72/0f40333b749a2a6d1bc5706accd73329/1/1de4451f8844a9c171830d25ff1cebbb/',
    'http://jkanime.net/stream/jkmedia/83b83090f08cbe7823cb0ed531f8cc72/4f501d26373b56e0fe0351c1a6154bd4/1/1de4451f8844a9c171830d25ff1cebbb/',
    'http://jkanime.net/stream/jkmedia/83b83090f08cbe7823cb0ed531f8cc72/ea38fc252cc488c0c1149875b8694f87/1/1de4451f8844a9c171830d25ff1cebbb/'
  ]
}*/

License

MIT