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
Release history Release notifications | RSS feed
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)
Built Distribution
pybaidu-1.0.0-py3-none-any.whl
(18.2 kB
view hashes)