-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathrunner.py
More file actions
31 lines (25 loc) · 797 Bytes
/
runner.py
File metadata and controls
31 lines (25 loc) · 797 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
## Features
- Search products by keywords or URLs.
- Scrape detailed product and shop information.
- Export data to JSON files.
## Configuration
You can modify the settings in `src/config/settings.example.json`.
## Example Output
The scraper will produce output like this:
```json
[
{
"product_name": "Handmade Silver Necklace",
"product_url": "https://www.etsy.com/listing/123456789/handmade-silver-necklace",
"price": "$35.00",
"reviews": [
{"rating": "5", "comment": "Beautiful necklace! Exactly as described."},
{"rating": "4", "comment": "Lovely item but took longer to arrive."}
],
"shop_name": "The Silver Studio",
"shop_url": "https://www.etsy.com/shop/TheSilverStudio",
"shop_rating": "4.8",
"category": "Jewelry",
"product_image_url": "https://www.etsy.com/images/necklace.jpg"
}
]