-
Go to webscraper.io and get all Lenovo notebooks sorted from the cheapest to the most expensive.
-
For optimization purposes,the collected data is stored in a JSON file
- Flask
- Selenium
- JSON
- Jsonify
- Render_template
Executable driver path needs to be set in [ line 6 ]
getting_all_files.py ๐๐ฟ (executable_path=driver_path)
- Collecting the laptops information
- Render the page where all the information will be displayed
Git Clone this repository:
git clone https://github.com/wjj28/busca_milhas_challenge.git
CD into the project folder:
cd busca_milhas_challenge
Collect the data and store it as JSON
python import2json.py
Render the webpage to get all the data
python restful_api.py
- Collect all the Lenovo laptops' links from the website
- Collect every single information available for each laptop
- Sort the laptops by price (from cheapest to the most expensive)
- Save the results into a JSON file
- Generate a RESTful API to display the laptops' information in JSON format
- Collecting all the Lenovo laptops' info โ
- Collecting the prices for the different HDD of each laptop โ
- Sorting the laptops by price โ
- Saving the results into a JSON file โ
- Generate a RESTful API to display the laptops' information in JSON format โ