Skip to content
🐺 小动物图片收集 API — A spider for e621, Furaffinity, MyReadingManga and so on...
JavaScript
Branch: master
Clone or download

Latest commit

Fetching latest commit…
Cannot retrieve the latest commit at this time.

Files

Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
api
test
.gitattributes
.gitignore
LICENSE
index.js
package.json
readme.md

readme.md

🐱 Furazy - 轻巧的小动物图片收集库

A module for searching FURRY pictures. Find it on NPM / Add issues on Github

Usage

For Node.js

Install
$ npm install furazy --save
Update
$ npm update furazy
Import
// es5
const Furazy = require("furazy")
// es6及以上
import Furazy from "furazy"
APIs
Method Explain Async Supported sites Version
1 Furazy.canIUse() Network checking. Y e621.net, e926.net, furaffinity.com, furry.booru.org, myreadingmanga.info v0.1.9
2 Furazy.searchImage() Search FURRY images. Y e621.net, e926.net, furaffinity.com, furry.booru.org v0.1.6
3 Furazy.searchComic() Search FURRY dojins. Y myreadingmanga.info v0.1.0
4 Furazy.getComic() Get a dojin through url. Y myreadingmanga.info v0.1.0
Usage
const Furry = new Furazy()

/*
 * Furazy 的所有请求均为异步操作,可用 .then() 或 await 获取结果
 * All requests in Furazy are asynchronous, u can use .then() or await to get results.
 */
const searchIt = async () => {
  // Search furry pictures
  let searchResult = await Furry.searchImage(
    "eevee",      //[String]name (search keywords)
    0,            //[Int]type, 0: e621.net,1: fa, 2: e926.net
    1,            //[Int]page
    1             //[Int]limit
  )
  console.log(searchResult)

  // Search doujins
  let mrm = await Furry.searchComic(
    "pokemon",    //[String]name (search keywords)
    0,            //[Int]sort
    1             //[Int]page
  )
  console.log(mrm)

  // View doujins (only for myreadingmanga.info now)
  let comic = await Furry.getComic(
    "your_comic_url" //[String]commicUrl
  )
  console.log(comic)
}

searchIt()
Result sample
[
  {
    title:
      "2019 ambiguous_gender bodily_fluids digital_drawing_(artwork) digital_media_(artwork) dragon dragonite drooling duo eevee feral hiore hi_res imminent_vore larger_pred licking licking_lips macro mammal nintendo oral_vore pokémon pokémon_(species) saliva simple_background size_difference slightly_chubby soft_vore tongue tongue_out video_games vore white_background",
    preview:
      "https://static1.e621.net/data/preview/65/e2/65e289e2e05ed9a004d9e18fefda2962.jpg",
    image:
      "https://static1.e621.net/data/65/e2/65e289e2e05ed9a004d9e18fefda2962.png",
    author: "hiore",
    author_url:
      "https://www.pixiv.net/en/artworks/77983470, https://i.pximg.net/img-original/img/2019/11/25/03/37/25/77983470_p2.png, https://www.pixiv.net/member.php?id=45363288, https://twitter.com/D0Sd0ou3fm1R1rB/status/1196483299465519105"
  }
]

For Python3

Under development (o ´∀ `o)

Find me

License

MIT

You can’t perform that action at this time.