Skip to main content

pybaidu是一个通过python爬虫请求百度来获取百度信息的python第三方库。

Project description

简介

pybaidu是一个通过python爬虫请求百度来获取百度信息的python第三方库。

安装

使用pip:

pip install pybaidu

使用git:

git clone https://gitcode.net/weixin_38805653/pybaidu
cd pybaidu
python setup.py install

终端

使用终端查看pybaidu信息。

python -m pybaidu

使用

from pybaidu import *
BaiduImage  # 百度图片爬虫核心类
BaiduSearch  # 百度搜索爬虫核心类
BaiduKnew   # 百度知道爬虫核心类
BaiduKnewSearch  # 百度知道搜索爬虫核心类
BaiduVideo  # 百度视频搜索爬虫核心类
BaiduTranslate   # 百度翻译爬虫核心类
BaiduLibrary   # 百度文库爬虫核心类

具体文档请见源码中的doc-string。

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

pybaidu-1.0.0.tar.gz (12.3 kB view hashes)

Uploaded Source

Built Distribution

pybaidu-1.0.0-py3-none-any.whl (18.2 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page