HAJJI-Abderrahmane / DataEngineer-CodeChallenge-APIforWebScrapping

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Gemography-DataEngineer-CodeChallenge-APIforWebScrapping

A Beautifulsoup4 and requests webscraper that can scrape and store articles of theguardian.

Installation

Use pip to install all required libraries.

pip install -r requirements.txt

Usage

We using our own mongodb DB previously created, the credentials are already put it, to start the scrapping API, run the command:

python api.py

Requests

To make a request to the already hosted api, you can run samplerequest.py

python samplerequest.py

About


Languages

Language:Python 100.0%