Skip to main content

Get douabn information to a summary text.

Project description

DoubanInfo

抓取豆瓣信息并生成简介文本, 目前支持电影类(电影/剧集/动漫/综艺)和书籍类。

Get douabn information to a summary text.

Functions(功能介绍)

  • 输出简介文本
  • 输出Json格式信息

Useage(使用方法)

参数说明

-h, --help show this help message and exit -u URL, --url URL Input your douban-url -c COOKIE, --cookie COOKIE Input your douban-cookie
-j, --json Output as json format

示例

doubaninfo -u douban-url -c douban-cookie(不强制)

示例1:

doubaninfo -u https://movie.douban.com/subject/26353671/

示例2:

doubaninfo -u https://movie.douban.com/subject/26353671/ -c 'your cookie'

示例3:

di -u https://movie.douban.com/subject/26353671/ -c 'your cookie'

Install 安装方法

1.安装Python环境

2.在PowerShell(Windows)/ Terminal.app(MacOS)/ command-line interface(Linux)下输入

pip3 install doubaninfo

Or

pip install doubaninfo

Upgrade 更新方法

pip3 install --upgrade auto_upload

Or

pip install --upgrade auto_upload

Reference

DouBan-Spider 电影信息查询脚本

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

doubaninfo-0.0.2.tar.gz (10.8 kB view hashes)

Uploaded Source

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