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 details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

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

Uploaded Python 3

File details

Details for the file pybaidu-1.0.0.tar.gz.

File metadata

  • Download URL: pybaidu-1.0.0.tar.gz
  • Upload date:
  • Size: 12.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.2 importlib_metadata/4.6.1 pkginfo/1.5.0.1 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.47.0 CPython/3.8.3

File hashes

Hashes for pybaidu-1.0.0.tar.gz
Algorithm Hash digest
SHA256 fe1c191e2f23a9027cbf0bcb9e3e7fbfdc2a1f75bc0312ab1fc64f38791304ec
MD5 17afa38df455f35d5b87235e47db1bb0
BLAKE2b-256 dd44cc6c4432edc04bacc976503777af0f41df1dabad8a17e836671971b97c08

See more details on using hashes here.

File details

Details for the file pybaidu-1.0.0-py3-none-any.whl.

File metadata

  • Download URL: pybaidu-1.0.0-py3-none-any.whl
  • Upload date:
  • Size: 18.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.2 importlib_metadata/4.6.1 pkginfo/1.5.0.1 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.47.0 CPython/3.8.3

File hashes

Hashes for pybaidu-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 9aa1cd71206c303bb32a34deb994428617e97fea2d0bf4ab3007b49578614cf0
MD5 00ccdd900d678dc736ef3ca8aa7b1884
BLAKE2b-256 424c588f9c99963525e46f851fa482944ca179550408087c824d3e4a4703f0bc

See more details on using hashes here.

Supported by

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