0.2.0 • Published 4 years ago

furazy v0.2.0

Weekly downloads
1
License
MIT
Repository
-
Last release
4 years ago

🐱 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

0.2.0

4 years ago

0.1.9

4 years ago

0.1.7

4 years ago

0.1.6

4 years ago

0.1.4

4 years ago

0.1.5

4 years ago

0.1.1

4 years ago

0.1.3

4 years ago

0.1.0

4 years ago

0.0.9

4 years ago

0.0.8

4 years ago

0.0.7

4 years ago

0.0.6

4 years ago

0.0.3

4 years ago

0.0.5

4 years ago

0.0.4

4 years ago

0.0.2

4 years ago

0.0.1

4 years ago