New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

ibsearch

Package Overview
Dependencies
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

ibsearch

A module to search ibsearch.xxx, which contains 9 boorus.

  • 1.0.1
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
0
decreased by-100%
Maintainers
1
Weekly downloads
 
Created
Source

IbSearch

Codacy Badge Known Vulnerabilities

IbSearch searches 11 image boards at once: gelbooru, danbooru, rule34, furrybo, yandere, konachan, safebooru, xbooru, e621, and uberbooru. This module utilizes its API as well as providing a simple way to extract image URL.

The only function is .search(query, options) where query is a string and options is an object. Example below...

const ibsearch = require("ibsearch"),
      ib = ibsearch("api_key"); // API Key is optional but it gives you a higher rate

ib.search("lolita").then(function(data) {
      console.log(data[0].link); // SPECIAL!
      console.log(data); // Normal
}

// You can add options (which is optional obviously)
ib.search("jk", {
      limit: 1, // Number or a string with a number: Maximum amount of results in the return. Default = 25
      page: 1 // Page number. Default = 1
}).then(function(data) {
}

For each object in data, it is everything described in the API documentation, plus a link property so you can just fetch your image link without hassle. Here's an example:

[ { id: '11508',
    rating: 'q',
    tags: '1girl ass back black_hair blush dimples_of_venus ganto glasses kantai_collection kirishima_(kantai_collection) lips looking_at_viewer looking_back pencil_skirt short_hair simple_background white_background',
    format: 'jpg',
    width: '600',
    height: '850',
    area: '510000',
    aspectw: '705',
    aspecth: '1416',
    sha1: '6A6F780FA9F5AE6CBD24A5C5C445CC54585D89C0',
    md5: 'F108FD9C0647A88D349A0B34295C7E41',
    found: '1427569497',
    size: '45114',
    server: 'im1',
    random: '7660',
    hits: '2107',
    path: 'f/10/8fd9c0647a88d349a0b34295c7e41.jpg',
    link: 'https://im1.ibsearch.xxx/f/10/8fd9c0647a88d349a0b34295c7e41.jpg' } ]

Keywords

FAQs

Package last updated on 15 Dec 2017

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc