Giter Site home page Giter Site logo

baidu-index-spider's Introduction

BAIDU-INDEX-SPIDER

百度指数爬虫,node版本

Usage

依赖Tesseract,�必须先安装Tesseract。

https://github.com/tesseract-ocr/tesseract/wiki#installation

�在node里引用:

npm install baidu-index-spider
const BDIndexSpider = require('baidu-index-spider');

const keyword = '要爬取的关键词';
const username = '百度帐号';
const password = '';

const result = BDIndexSpider.run(keyword, { sername, password}).then((result) => {
    console.log(result);
});

baidu-index-spider's People

Contributors

coffcer avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

baidu-index-spider's Issues

npm ERR! 404 Not found : baidu-index-spider

When I try to run the code "sudo npm install baidu-index-spider", the result turns to be as follows:
npm ERR! Linux 4.15.0-34-generic
npm ERR! argv "/usr/bin/nodejs" "/usr/bin/npm" "install" "baidu-index-spider"
npm ERR! node v4.2.6
npm ERR! npm v3.5.2
npm ERR! code E404

npm ERR! 404 Not found : baidu-index-spider
npm ERR! 404
npm ERR! 404 'baidu-index-spider' is not in the npm registry.
npm ERR! 404 You should bug the author to publish it (or use the name yourself!)
npm ERR! 404
npm ERR! 404 Note that you can also install from a
npm ERR! 404 tarball, folder, http url, or git url.

npm ERR! Please include the following file with any support request:
npm ERR! /home/teaxu/桌面/npm-debug.log

Do u know how to solve this problem?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.