https://github.com/buchin/nodejs-bing
Bing scraper: Web, Image, Video. Now available on NodeJS
https://github.com/buchin/nodejs-bing
Last synced: 5 months ago
JSON representation
Bing scraper: Web, Image, Video. Now available on NodeJS
- Host: GitHub
- URL: https://github.com/buchin/nodejs-bing
- Owner: buchin
- Created: 2017-02-24T16:13:29.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2017-02-24T16:14:22.000Z (over 9 years ago)
- Last Synced: 2025-08-20T07:44:31.809Z (10 months ago)
- Language: JavaScript
- Homepage:
- Size: 2.93 KB
- Stars: 2
- Watchers: 1
- Forks: 4
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# nodejs-bing
Bing Scraper: text, image, video for nodejs
## Installation
```shell
npm install --save nodejs-bing
```
## Usage
### web
```js
// simple example
var bing = require('nodejs-bing')
bing.web('okedeh kakak').then(function(results) {
console.log(results)
})
// advanced, using hack
bing.web('okedeh kakak', 'filetype:pdf').then(function(results) {
console.log(results)
})
```
### image
```js
// simple
bing.image('okedeh kakak').then(function(results) {
console.log(results)
})
// advanced
bing.image('okedeh kakak', '', [bing.filters.image.image_size.extra_large])
.then(function(results) {
console.log(results)
})
```
### video
```js
bing.video('katak').then(function(results) {
console.log(results)
})
```