nytimes_search is a web scraper that searches the NYTimes RSS feed to parse and extract stories about China, storing the result in an SQLite database for later retrieval.
To install nytimes_search locally:
-
$
sudo apt install python3-venv
$python3 -m venv .venv_nytimes
$source .venv_nytimes/bin/activate
-
$
pip3 install requests
-
$
pip3 install beautifulsoup4
$pip3 install lxml
-
$
pip3 install Flask
-
$
python3 serve.py
Please open an issue to suggest fixes or ideas for improving nytimes_search.