An api tool for DouBan movie
Project description
DouBanLib
Usage
from doubanlib.movie import Movie
movie = Moive(1292220)
print(
'豆瓣ID:{}\nIMDB:{}\n电影名称:{}\n中文名称:{}\n生产时间:{}\n电影类型:{}\n制片地区:{}\n电影语言:{}\n电影评分:{}\n投票人数:{}\n电影片长:{}\n导演列表:{}\n电影别名:{}\n海报地址:{}\n出版日期:{}\n演员列表:{}\n电影介绍:{}'
.format(movie.m_id, movie.imdb, movie.name, movie.chineseName, movie.year,
'/'.join(movie.genre), '/'.join(movie.regions),
'/'.join(movie.language), movie.rating, movie.votes,
movie.length_movie, '/'.join(movie.directors),
'/'.join(movie.alias), movie.image, '/'.join(movie.pubDate),
'/'.join([i[1] for i in movie.actors]),
movie.description.strip().replace(' ', '').replace('\n', '')))
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
doubanlib-0.0.6.tar.gz
(3.8 kB
view hashes)
Built Distribution
Close
Hashes for doubanlib-0.0.6-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | af4fa975932a512ba3ff8497fca73a170a36919afb4939fe72c7ba9f15946f12 |
|
MD5 | 98ee27c735dc0c78e13a861c70e05d2a |
|
BLAKE2b-256 | a3cb84fbcc6393f63c8392140197ac1552350f0876db2290cb498670f48f9bca |