An api tool for DouBan movie.
Project description
DouBanLib
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.5.tar.gz
(3.9 kB
view hashes)
Built Distribution
Close
Hashes for doubanlib-0.0.5-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | e3c9107ee58008ba85394b7ff7b7e33bb574f7534395adb1045b0d8bcdcf66e3 |
|
MD5 | 21ee1d48aeb12f7d2fc5cc7fc1a8c1e0 |
|
BLAKE2b-256 | b882274f4661408a4303750f1ee0316830b8441e86429ae0014338f9863413f2 |