From bbdf752dea9987eada39fd644b4fb146e1858a12 Mon Sep 17 00:00:00 2001 From: Ville Komulainen <ville.m.komulainen@utu.fi> Date: Wed, 27 Apr 2022 10:30:06 +0000 Subject: [PATCH] Update README.md --- README.md | 22 ++++++++++------------ 1 file changed, 10 insertions(+), 12 deletions(-) diff --git a/README.md b/README.md index e028f57..c8f74e9 100644 --- a/README.md +++ b/README.md @@ -1,17 +1,15 @@ +Simple web-scraper for finnish news sites "yle.fi" and "iltalehti.fi". + 20-30 or so of the most recent stories will be scraped from either site. + The data will be compiled to json format and one news story will contain the publication date, the title for the story and the actual text. -- Simple web-scraper for finnish news sites "yle.fi" and "iltalehti.fi" -- 20-30 or so of the most recent stories will be scraped from either site -- The data will be compiled to json format and one news story will contain the publication date, the title for the story and the actual text. - -- Build: +Build: - install required libraries with -pip install -r requirements.txt +Run: +- Run with -python src/main/main.py +- -You will be asked which news site you want to scrape the data from +- -Write into the prompt either "yle" or "iltalehti" +- -Next you will be asked to name the file that the json data will be stored into +- -File will appear in the root of the project -- Run: -- Run with -python src/main/main.py - --You will be asked which news site you want to scrape the data from --Write into the prompt either "yle" or "iltalehti" --Next you will be asked to name the file that the json data will be stored into --File will appear in the root of the project -- GitLab