Skip to content

Latest commit

 

History

History
33 lines (26 loc) · 839 Bytes

README.md

File metadata and controls

33 lines (26 loc) · 839 Bytes

Disinfo-digest

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.

Setup

  1. Install requirements
pip install -r requirements.txt
  1. Rename .env.sample to .env and fill in the necessary data

  2. init db

flask init_db
  1. run app
flask run
  1. set up your CRON/scheduler to automatically call the mediacheck.py script
python mediacheck.py

Other Notes

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;