code-for-venezuela / c4v-py

3 stars 3 forks source link

Define the Scraper interface #66

Open marianelamin opened 3 years ago

marianelamin commented 3 years ago

Problem

Define the contract micro scrapers (spiders?) will need to have.

Proposed Solution

def scrape(url:str) -> dict

in: link to be scraped out: dictionary with the content. This will make it easy to add more columns in future iterations of the version.