https://github.com/shinbatsu/lego-scrapper
Lego website - toys data scrapper
https://github.com/shinbatsu/lego-scrapper
beautifulsoup4 csv scraper
Last synced: 11 months ago
JSON representation
Lego website - toys data scrapper
- Host: GitHub
- URL: https://github.com/shinbatsu/lego-scrapper
- Owner: Shinbatsu
- Created: 2025-05-24T17:48:57.000Z (about 1 year ago)
- Default Branch: master
- Last Pushed: 2025-05-24T20:39:48.000Z (about 1 year ago)
- Last Synced: 2025-07-28T00:10:12.637Z (12 months ago)
- Topics: beautifulsoup4, csv, scraper
- Language: Python
- Homepage:
- Size: 4.88 KB
- Stars: 2
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Lego parser
### About repo
This Python project scrapes LEGO's official website to collect information about available LEGO themes and specific product collections. The collected data is exported into CSV files.
### Features
1. Scrapes all LEGO themes from the official LEGO site
2. Scrapes LEGO products (toys) from a selected collection (e.g., Marvel)
3. Extracts product details: name, age range, piece count, rating, price, and discount
4. Saves collected data into CSV files (`themes.csv`, `toys_data.csv`)
### Usage
1. Install dependencies:
```bash
pip install -r requirements.txt
```
2. Run script `python3