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

Uploaded Source

Built Distribution

douban_movie-0.0.4-py3-none-any.whl (5.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