Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

bing-me-links

Package Overview
Dependencies
Maintainers
1
Versions
13
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

bing-me-links

Scrapes Baidu, Bing, StartPage, Yahoo, Webcrawler, Qwant and retrieves links in serps

  • 1.0.0
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
4
decreased by-71.43%
Maintainers
1
Weekly downloads
 
Created
Source

A simple node module for scraping links from the Baidu, Bing, StartPage, Webcrawler, Yahoo, and Qwant search engines.

Install

Install with npm

$ npm install bing-me-links --save

Usage

BingMeLinks uses the exp-config module for handling its' configuration in JSON files.


const bingMeLinks = require("bing-me-links");
const vo = require("vo");

const query = "javascript";  
const baidu = vo(bingMeLinks.searchBaidu(query));
vo(baidu)
  .then((links) => {
    //=> ["http://whatever1", "http://whatever2"]
  });

const bing = vo(bingMeLinks.searchBing(query));
vo(bing)
  .then((links) => {
    //=> ["http://whatever1", "http://whatever2"]
  });

const startPage = vo(bingMeLinks.searchStartPage(query));
vo(startPage)
  .then((links) => {
    //=> ["http://whatever1", "http://whatever2"]
  });

const webcrawler = vo(bingMeLinks.searchWebcrawler(query));
vo(webcrawler)
  .then((links) => {
    //=> ["http://whatever1", "http://whatever2"]
  });
    
const yahoo = vo(bingMeLinks.searchYahoo(query));
vo(yahoo)
  .then((links) => {
    //=> ["http://whatever1", "http://whatever2"]
  });

const qwant = vo(bingMeLinks.searchQwant(query));
vo(qwant)
  .then((links) => {
    //=> ["http://whatever1", "http://whatever2"]
  });  

Running tests

Install dev dependencies:

$ npm test

Contributing

Pull requests and stars are always welcome. For bugs and feature requests, please create an issue

Author

License

Released under the MIT license.

FAQs

Package last updated on 30 Mar 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