anitube-get

0.1.2 • Public • Published

Anitube Getter

Build Status Maintainability

NPM

Caution

When you download video from anitube as using this module, the action may become crime depending on the country.

The developer is not responsible for any damage or crime caused by using this module.

Install and use

> npm install anitube-get
anitubeGet = require('anitube-get');

Change of version 0.1.2

  • Added synchronize method (method name is -Sync)
  • Ability to acquire HD video URL

API

If you want to see example, please look at files in "sample/" directory.

'err' in callback function is stored error.

Asynchronous methods

getVideoURL(pageURL, [isHD], callback(err,videoURL))

Methods for getting raw video url from anitube page url. If isHD is not 0, return HD video URL. (If the page doesn't has HD video, return null)

getKeyURL(pageURL, callback(err,keyURL))

Methods for getting key url from anitube page url. Key is stored many information about video. Normally, don't use this method.

getEmbedVideoURL(pageURL, callback(err,embedVideoURL))

Methods for getting video url for embed from anitube page url.

getCategoryURL(pageURL, callback(err,categoryURL))

Methods for getting category url of video from anitube page url.

getVideoTitle(pageURL, callback(err,videoTitle))

Methods for getting video title from page.

getCategory(pageURL, callback(err,categoryName))

Methods for getting category name fron page.

Synchronous methods

Name of synchronous methods is add Sync to behind function name.

Please look at "sample/testSync.js".

Synchronization method does not yet implement an error return function!

Readme

Keywords

Package Sidebar

Install

npm i anitube-get

Weekly Downloads

0

Version

0.1.2

License

GPL

Last publish

Collaborators

  • nazonoxx