Skip to main content

Get movie info from Douban (豆瓣) and display in your terminal

Project description

Douban-Movie

Display movie information retrieved from Douban (豆瓣) in your terminal.

alt text alt text

PyPI Python 3.6


Requirements

  • Python 3.6
  • Urwid
  • Requests
  • BeautifulSoup
  • lxml

Installation

$ pip install douban-movie

Clone the repository

 $ git clone https://github.com/chishui/douban-movie.git  
 $ cd douban-movie
 $ sudo python setup.py install  

Usage

Display movie infomation

$ douban zootopia

Output

===============   Douban Movie   ===============
Title: 疯狂动物城
Score: 9.2
Year: 2016
Director: 拜伦·霍华德 / 瑞奇·摩尔 / 杰拉德·布什
Actors: 金妮弗·古德温 / 杰森·贝特曼 / 伊德里斯·艾尔巴 / 珍妮·斯蕾特 / 内特·托伦斯 / 邦尼·亨特 / 唐·雷克 / 汤米·钟 / J·K·西蒙斯 / 奥克塔维亚·斯宾瑟 / 艾伦·图代克 / 夏奇拉 / 雷蒙德·S·佩尔西 / 德拉·萨巴 / 莫里斯·拉马奇 / 菲尔·约翰斯顿 / 约翰·迪·玛吉欧 / 凯蒂·洛斯 / 吉塔·雷迪 / 杰西·科尔蒂 / 汤米·利斯特 / 乔希·达拉斯 / 瑞奇·摩尔 / 凯特·索西 / 彼得·曼斯布里奇 / 拜伦·霍华德 / 杰拉德·布什 / 马克·史密斯 / 乔西·特立尼达 / 约翰·拉维尔 / 克里斯汀·贝尔 / 吉尔·科德斯 / 梅利莎·古德温
================================================

List all movies which match the name

$ douban 星球 -l

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

douban-movie-0.0.4.tar.gz (395.0 kB view details)

Uploaded Source

Built Distribution

douban_movie-0.0.4-py3-none-any.whl (5.2 kB view details)

Uploaded Python 3

File details

Details for the file douban-movie-0.0.4.tar.gz.

File metadata

  • Download URL: douban-movie-0.0.4.tar.gz
  • Upload date:
  • Size: 395.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/47.1.0 requests-toolbelt/0.9.1 tqdm/4.47.0 CPython/3.8.4

File hashes

Hashes for douban-movie-0.0.4.tar.gz
Algorithm Hash digest
SHA256 1317d213304a6acfbfa4f4ac268e166db692a43fd340138b06977cd45b29cdd8
MD5 6c8e24762939d5b526034becc68f1adb
BLAKE2b-256 bc403f689165a65ed703d92ea95b7b803d15b1d05bc1aae01b0511d480d5ee46

See more details on using hashes here.

File details

Details for the file douban_movie-0.0.4-py3-none-any.whl.

File metadata

  • Download URL: douban_movie-0.0.4-py3-none-any.whl
  • Upload date:
  • Size: 5.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/47.1.0 requests-toolbelt/0.9.1 tqdm/4.47.0 CPython/3.8.4

File hashes

Hashes for douban_movie-0.0.4-py3-none-any.whl
Algorithm Hash digest
SHA256 3a34383c3bce655453aeebff05235ea36e803aa4b95d3e8d90c1dbe7cd097a79
MD5 34425a0545071f376e863e36f99a3be0
BLAKE2b-256 bbd9fc585dfa7a373530c956de00ccac9e0f333ea1a5e397052a2479f564accc

See more details on using hashes here.

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