A Web-App showing places mentioned in the news on a map.
Try it: https://newslocator.ryepenchi.xyz/ (Hopefully a live version)
Seperate Repo evaluating the quality of the geoparsing process geoparsing-evaluation
Scraping news sites (currently only theGuardian.com) with python and rssparser
Geoparsing with external services using geopy
Managing data with an SQLite database using flask_sqlalchemy
Displaying results with Flask / Leaflet.js
sudo apt update && sudo apt upgrade -y
sudo apt install python3-pip python3-dev build-essential libssl-dev libffi-dev python3-setuptools python3-venv unzip
wget https://github.com/ryepenchi/newslocator/archive/master.zip
unzip master.zip && rm master.zip && mv newslocator-master newslocator && cd newslocator
or if git is available
git clone https://github.com/ryepenchi/newslocator.git && cd newslocator
python3.8 -m venv newslocator
source newslocator/bin/activate
pip install wheel
pip install -r requirements.txt
python -m spacy download en_core_web_md
python src/dbconfig.py
python src/rss_scraper_en.py
crontab -e
and add
20 * * * * /home/[YOUR_USER_NAME]/newslocator/bin/python newslocator/src/rss_scraper_en.py -a
Follow the instructions at