Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/wasi0013/gqtr
fetches quotes from https://goodreads.com/ according to tags & post random quotes on twitter
https://github.com/wasi0013/gqtr
bs4 goodreads lxml python requests tweepy twitter
Last synced: 3 days ago
JSON representation
fetches quotes from https://goodreads.com/ according to tags & post random quotes on twitter
- Host: GitHub
- URL: https://github.com/wasi0013/gqtr
- Owner: wasi0013
- License: apache-2.0
- Created: 2017-03-19T03:54:10.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2023-05-22T21:34:28.000Z (over 1 year ago)
- Last Synced: 2023-08-13T20:09:35.591Z (over 1 year ago)
- Topics: bs4, goodreads, lxml, python, requests, tweepy, twitter
- Language: Python
- Homepage:
- Size: 10.7 KB
- Stars: 5
- Watchers: 3
- Forks: 0
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# GQtr
parses https://goodreads.com/ to get quotes using tags## Installation:
* install [Python 3](https://www.python.org/downloads/)
* install [pip](https://pypi.python.org/pypi/pip)
* clone this repository
## Dependencies:* [bs4](https://www.crummy.com/software/BeautifulSoup/bs4/doc/)
* [requests](https://docs.python-requests.org/en/master/)
* [lxml](http://lxml.de/installation.html)
* [tweepy](https://www.tweepy.org)install them using `pip install -r requirements.txt`
## Usage:
* get a random quote: `python gqtr.py `
* getting a certain number of quotes(if available): `python gqtr.py `
* for getting all quotes for the specified tag: `python gqtr.py all`
* for posting random tweets using twitter account use `gqtweet.py`