从goodreads.com网站获取流行语录和每日语录
goodreads_quotes的Python项目详细描述
一个Python模块,用于从Goodreads页面获取流行的引用和当天的引用
依赖关系
此软件包取决于以下软件包:
- 请求
- lxml
- u
可以使用pip安装它们。
sudo pip install -r requirements.txt
安装
- 您需要[Python 3](https://www.python.org/download/)
- 建议在安装依赖项时使用[pip](http://pip.readthedocs.org/en/latest/installing.html)
sudo pip install goodreads_quotes
开始
fromgoodreads_quotesimportGoodreadsprint(Goodreads.get_popular_quotes())print(Goodreads.get_popular_quotes_as_json())print(Goodreads.get_daily_quote())print(Goodreads.get_daily_quote_json())
功能
- 流行语录
- 每日报价
贡献
请随意创建github问题。另外,欢迎您提交 请求错误修复或附加功能的请求。