Skip to content

fabiobarkoski/lanews

Repository files navigation

lanews

News extractor from latimes

Installation

To use, install one of the following options:

Usage

To use locally, just change the work-items.json, insert the phrase that you want to search, also specify the topics and months, for example:

{
  "payload": {
    "phrase": "lakers",
    "period": 2,
    "topics": ["sports"]
  },
  "files": {}
}

IMPORTANT: if you don't want to specify a topic, just leave an empty array in the topics.

This will search lakers on sports topic and get the latest 2 months of news. After will save in the /output dir an output.xlsx file and a pictures dir that contains all extracted data, like:

  • title
  • description
  • date
  • picture
  • count of search phrases in the title and description
  • if the title or description contains any amount of money

Then run following the instructions of your installation option :)

Quality Code

To ensure a quality code run pre-commit before making a PR. Install the pre-commit on your environment or create an environment and install it. After, run:

pre-commit run --all-files

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages