The project is based on a script that downloads links to articles from RSS feeds of trusted sources and filters news primarily about disinformation.
A web application created with Flask then displays these articles and allows for easy searching within them.
- Install requirements
pip install -r requirements.txt
-
Rename
.env.sample
to.env
and fill in the necessary data -
init db
flask init_db
- run app
flask run
- set up your CRON/scheduler to automatically call the
mediacheck.py
script
python mediacheck.py
Searching the database is case-insensitive and diacritic-insensitive. To enable this feature, you need to install the unaccent extension in your database:
CREATE EXTENSION unaccent;