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

@saber2pr/baidu-chart-api

Package Overview
Dependencies
Maintainers
1
Versions
8
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@saber2pr/baidu-chart-api

> 百度指数数据解析

  • 0.0.8
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
9
Maintainers
1
Weekly downloads
 
Created
Source

@saber2pr/baidu-chart-api

npm

百度指数数据解析

送给 b 站的小伙伴 qwq

使用方法

  1. 确保电脑安装 node.js

  2. 打开 cmd(或终端),执行以下命令安装 app

windows 下执行

npm install @saber2pr/baidu-chart-api -g

mac 或 linux 下执行(加 sudo)

sudo npm install @saber2pr/baidu-chart-api -g

命令安装好 app 后

命令行执行

baiduChart

命令行输入 baiduChart 回车,然后根据提示就可以了

API

npm i @saber2pr/baidu-chart-api
import { BaiduChart } from '@saber2pr/baidu-chart-api'

const cookie = '你的百度帐号cookie'

new BaiduChart(cookie).search('关键字')

Bug

0.0.3 及以下版本在 windows 下会报错,最新版已解决。

免责声明

本项目只为学习所用,请勿用于商业用途。

使用本软件前,请先阅读

使用百度指数前必读 | 百度指数版权声明

如未遵守以上条款造成法律责任,本人概不负责!>_<


start

npm install
npm start

npm test

Author: saber2pr


develope and test

you should write ts in /src

you should make test in /src/test

export your core in /src/index.ts!

Keywords

FAQs

Package last updated on 03 Jul 2019

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