Get quotes from brainyquote.com (written in python) or local files
- requests, bs4
- pybrainyquote (created by the author, requires furl)
- yaml (Optional)
Remark always use the latest version of pybrainyquote
Happy to use it.
Write it down into quotes.yaml
, if you find a good quote. The widget will print it when offline.
Set topic what you like in quote.py
Use the following code to suppress the warning.
import warnings
warnings.filterwarnings('ignore')