Task Instructions

User Manual:

Open the PDF directly: View PDF PDF.
Page Count: 1

Homework 1: Simple WebScraping
Each day several online shops publish a lot of ash deals and oers, some of
them interesting to us. As we don’t want to check those pages daily, we want a
program to list those oers automatically.
The webpage is:
https://www.banggood.com/Flashdeals.html
Your goal is to build a simple python application, using the following libraries:
• urllib
• BeautifulSoup4
To scrape some data: namely the product name and both prices, oer and
regular price, from the webpage, and print it (with the ultimate goal of using
any notication method to send the user the information).
Requirements
Code must be developed entirely on github.com, but can be a private
repository, on that case, add github user: carlesm, as a collaborator.
Code must follow good practice and good python conventions: variable
naming, identation, documentation, etc.
Code must work.
It should be clean and easy to improve, for instance, printing the book
title should be easily replaced by a notication to Telegram, or whatever.
Scoring: If all requeriments are met students get 0.25 extra points for Practice
1.
Only delivery should be the address of the github repo. All documentation,
considerations, etc. should be in the README.md le on the github repo.
1

Navigation menu