webScrap
WebScraping first step.
Authors: Paulo, Claudio M.
First steps in Web Scraping. Project carried out for training in Web Scrapping. The export of information to a structured database (Pandas DataFrame) where the information was obtained by making a request() call from pages with known addresses. Find the information in the 'lxml' code formatted by BeautfullSoup, and finally exported in csv format.
-
How to automate the search for related words in OLX ads.
-
Can I use quartile analysis to find the best product at the best price?
Our Plan
-
Select the list of related words.
-
Use requests to download the page.
-
Use BSsoup to format the downloaded page in lxml.
-
Create a structured database with date and time of posting, ad title, product value, city and neighborhood where it is being advertised.
-
Filter the database by removing ads whose ad title does not contain the desired words.
-
Use the percentile and average value metric to find the average price of advertisements by cities (of Brazilian states).
Current progress
Data scraping was carried out and the database was created to analyze the average value by city.
Database formed by information in OLX Brasil website advertisements.
The code is with variables and comments in Portuguese, and the search for advertisements is carried out with words in the Portuguese language.