Skip to content

petrsevcik/scraping_template

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 

Repository files navigation

Scraping practical task

General Info

Scrape data from Notino website about toothpastes and transform them.

  • use Python
  • it is recommended to use file structure in this repository, but it is not mandatory. Up to your creativity.
  • you can use any libraries you want. Output should be csv file.
  • clone this repository and after you are done with the task send link to your github or solution over to [email protected]

File structure

abstract/abstract_scraper.py - Base class for scrapers.

  • implement logger, sending get and post requests
  • you can implement any other additional methods and features you consider useful

notino/sraper.py - Scraper for Notino - raw data.

notino/transformation.py - Transformation of raw data to final format

  • add country (str), currency (str) and scraped_at (datetime) columns
  • add discount amount column (difference between price and price before sale or promocode)
  • save result to csv file notino_transformed.csv

About

Template for scraping

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages