Skip to content
Snippets Groups Projects
Commit bbdf752d authored by Ville Komulainen's avatar Ville Komulainen
Browse files

Update README.md

parent 50b8a712
Branches
No related tags found
No related merge requests found
Pipeline #51101 passed
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 - install required libraries with -pip install -r requirements.txt
Run:
- Run:
- Run with -python src/main/main.py - 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
-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
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment