Skip to content

Working repo for automating mediacheck.py

Notifications You must be signed in to change notification settings

msamyel/disinfo-digest

 
 

Repository files navigation

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;

About

Working repo for automating mediacheck.py

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Python 54.9%
  • HTML 27.3%
  • CSS 13.2%
  • JavaScript 4.6%