Skip to content

Commit 4a77375

Browse files
committed
Update alibaba-product-scraper-python
1 parent 45d73a2 commit 4a77375

1 file changed

Lines changed: 20 additions & 20 deletions

File tree

‎README.md‎

Lines changed: 20 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ This repository is a small, tested Python client for the **[Alibaba Products Scr
1515
1616
## 🔥 What you get
1717

18-
- **One row per unique product**: product ID, title, price or price range, minimum order quantity, supplier name, image URL and product URL.
18+
- **One row per unique product**, carrying the offer's title, its unit price or price band, the MOQ, the seller's company name, the main image and a link to the listing.
1919
- **Many keywords per run**: every search term is paginated on its own, up to the limit you set.
2020
- **No repeat rows**: sponsored offers that reappear on later result pages are removed across the whole run, so you are not billed twice for one product.
2121
- **One bad term never sinks the run**: a term that fails is skipped and logged while the other terms finish.
@@ -85,35 +85,35 @@ The script sends `input.json` to the Actor unchanged. The bundled file searches
8585
}
8686
```
8787

88-
| Field | Type | Required | Default | Description |
88+
| Field | Type | Required | Default | Allowed values |
8989
|---|---|---|---|---|
90-
| `searchTerms` | array | no | `["bluetooth speaker", "led strip light"]` | One or more free-text Alibaba search queries (e.g. bluetooth speaker, led strip light). Each term is fetched as its own paginated trade/search run. |
91-
| `maxResultsPerTerm` | integer | no | `100` | Cap on unique products collected per search term. Values above ~50 force multi-page pagination with run-wide duplicate removal. |
92-
| `proxyConfiguration` | object | no | `{"useApifyProxy": true}` | Apify Proxy spec — mandatory field. The Actor defaults to a RESIDENTIAL proxy pinned to the US when this is left at {"useApifyProxy": true} — the default (datacenter/auto) pool hit a served anti-bot challenge in cloud QA (2026-09-17). Override apifyProxyGroups/apifyProxyCountry here to change it. |
90+
| `searchTerms` | array | no | `["bluetooth speaker", "led strip light"]` | — |
91+
| `maxResultsPerTerm` | integer | no | `100` | — |
92+
| `proxyConfiguration` | object | no | `{"useApifyProxy": true}` | — |
9393

9494
## 📤 Output
9595

9696
Every dataset row describes one product offer. Prices are kept exactly as Alibaba shows them, including ranges like `$3.50-5.20`, so nothing is lost in a currency or rounding conversion; parse them in your own code when you need numbers.
9797

98-
| Field | Type | Description |
98+
| Field | Type | Always present |
9999
|---|---|---|
100-
| `product_id` | string | Alibaba's internal product ID. |
101-
| `search_term` | string | The search query that produced this row. |
102-
| `title` | string | Product title as listed on the search results page. |
103-
| `price` | string or null | Raw price or price-range string as served (mixed currency formats preserved). |
104-
| `moq` | string or null | Minimum order quantity string, when present. |
105-
| `supplier_name` | string or null | Supplier / company name, when present. |
106-
| `image_url` | string or null | Primary listing image URL. |
107-
| `product_url` | string | Absolute alibaba.com product detail page URL. |
108-
| `page_number` | integer | 1-indexed search results page this row was found on. |
109-
| `scraped_at` | string | UTC ISO-8601 timestamp captured when the page was fetched. |
100+
| `product_id` | string | yes |
101+
| `search_term` | string | yes |
102+
| `title` | string | yes |
103+
| `price` | string or null | no |
104+
| `moq` | string or null | no |
105+
| `supplier_name` | string or null | no |
106+
| `image_url` | string or null | no |
107+
| `product_url` | string | yes |
108+
| `page_number` | integer | yes |
109+
| `scraped_at` | string | yes |
110110

111111
## 💰 Pricing
112112

113-
| Event | Price (USD) | When it is charged |
114-
|---|---|---|
115-
| Actor start | $0.2 | Charged once when the Actor begins a run. |
116-
| Result item | $0.006 | Charged once per validated product row pushed to the dataset. |
113+
| Event | Price (USD) |
114+
|---|---|
115+
| Actor start | $0.2 |
116+
| Result item | $0.006 |
117117

118118
Prices as configured on 2026-09-17. The [Actor page](https://apify.com/DevilScrapes/alibaba-products-scraper) always shows the current price. Runs are billed to the Apify account that owns the token. Use `--max-charge` to cap what a single run can cost.
119119

0 commit comments

Comments
 (0)