Giter Site home page Giter Site logo

episcan's Introduction

EpiScan

This is a news aggregator project that uses Python and News API to fetch and process articles on relating to various disease keywords.

Setup

To set up this project, you'll need to install the required dependencies by running the following command:

pip install -r requirements.txt

You'll also need to obtain an API key from the News API and set it as an environment variable named NEWSAPI_KEY.

Usage

To run the news aggregator, simply run the scanner.py script:

python scanner.py

This will fetch articles from the News API, process them, and save them to an SQLite database named epinews.db. The articles also get saved to a JSON file named data/articles.json.

Github Actions Workflow

This project includes a Github Actions workflow that runs the scanner.py script on a schedule at midnight and midday every day. The workflow is defined in the .github/workflows/main.yml file.

The workflow checks out the repository, sets up Python, installs the dependencies, runs the scanner.py script, commits the data/articles.json and epinews.db files, and pushes the changes to the repository.

Todo

  • Add HTML overview of articles.json
  • Pull keywords out of scanner.py and put them into their own config

episcan's People

Contributors

fogonwater avatar

Watchers

Lucian avatar  avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.