Skip to content

A Python application that uses the Wallapop API and Google's Gemini 2.0-pro LLM to analyze products listed on Wallapop and find undervalued items that can be purchased and resold for a higher profit.

Notifications You must be signed in to change notification settings

Tatuck/wallapop-scraper

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Wallapop Scraper: for resellers

Hello! This program uses Wallapop API for finding products that can be resold for a profit.

How does this work?

  1. Get the first page of products in the "Technology and electronics" category (this can be changed with category_id)
  2. Get the keywords of each of the products found in the last step using Gemini 2.0 flash.
  3. Search each of the keywords of each product on Wallapop.
  4. Filters products to avoid outliers.
  5. Get the cheapest products (the products on the first quarter of the pricing distribution of the products of the last step).
  6. Makes a valoration of each of the products using the LLM by the photos, title and description.
  7. Stores this info in an Excel under the folder /out like this: image

Usage:

  1. Create a file called .env like this:
LLM_API_KEY = 'YOUR-GEMINI-API-KEY'
  1. Install requirements.txt
pip install -r requirements.txt
  1. Run
python main.py

About

A Python application that uses the Wallapop API and Google's Gemini 2.0-pro LLM to analyze products listed on Wallapop and find undervalued items that can be purchased and resold for a higher profit.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages