python script to scrap tagged-quotes from Goodreads, run it as follows:
python3 scrap_goodreads_quotes_en.py
-
Good understanding of python and mongodb is important.
-
Install mongodb python driver with the following command:
pip install pymongo
{
"text":"May you live every day of your life",
"author":"Jonathan Swift"
"tags":
[
"inspirational",
"life",
"philosophy",
"wisdom"
]
}
,
{
"text":"That's what literature is. It's the people who went before us, tapping out messages from the past, from beyond the grave, trying to tell us about life and death! Listen to them",
"author":"Connie Willis",
"book":"Passage",
"tags":
[
"death",
"life",
"literature",
"messages"
]
}
- Beautiful Soup Python library for web-scrapping
- urllib.request.urlopen module for opening URLs
- pymongo
✨ Made with💓 ✨