Skip to content

zk97/project-API-Scraping

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

420

Zahid Sánchez Barrón

DAPT CDMX March 2020

Content

Introduction

Recopilation of Marijuana products, with detailed strain information. Data was retrived from strains.evanbusee.com API and from leafly.com. Different csv are available in extra_csv folder.

Aproach

Data from API was downloaded and turned into 3 different csv. Scraping process used two different classes, one for scraping flowers and other for scarping strains. Each class scraped twice, first time to get links and second time to get the info. Data was saved to "strain.csv","products.csv", those were merged into a complete leafly dataframe, this dataframe was mreged with the API df, was cleaned and saved into a csv called "weed.csv".

Challenges

Asyncio was difficult to understand and implement, it reduced considerably scraping time.

Links

API Documentation | Leafly

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors