Sign Up for Free

RunKit +

Try any Node.js package right in your browser

This is a playground to test code. It runs a full Node.js environment and already has all of npm’s 400,000 packages pre-installed, including furazy with all npm packages installed. Try it out:

var furazy = require("furazy")

This service is provided by RunKit and is not affiliated with npm, Inc or the package authors.

furazy v0.2.0

A module for searching FURRY pictures

🐱 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
MethodExplainAsyncSupported sitesVersion
1Furazy.canIUse()Network checking.Ye621.net, e926.net, furaffinity.com, furry.booru.org, myreadingmanga.infov0.1.9
2Furazy.searchImage()Search FURRY images.Ye621.net, e926.net, furaffinity.com, furry.booru.orgv0.1.6
3Furazy.searchComic()Search FURRY dojins.Ymyreadingmanga.infov0.1.0
4Furazy.getComic()Get a dojin through url.Ymyreadingmanga.infov0.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

Metadata

RunKit is a free, in-browser JavaScript dev environment for prototyping Node.js code, with every npm package installed. Sign up to share your code.
Sign Up for Free