Total Wine Scraper avatar
Total Wine Scraper
Try for free

2 hours trial then $20.00/month - No credit card required now

View all Actors
Total Wine Scraper

Total Wine Scraper

oyildirim/totalwine-actor
Try for free

2 hours trial then $20.00/month - No credit card required now

Scrape data from Total Wine. Extract descriptions, images, reviews, stock info, and all other product details. The actor supports category URLs and/or searching across the website by any search term.

The code examples below show how to run the Actor and get its results. To run the code, you need to have an Apify account. Replace <YOUR_API_TOKEN> in the code with your API token, which you can find under Settings > Integrations in Apify Console. Learn mode

Node.js

Python

curl

1# Set API token
2API_TOKEN=<YOUR_API_TOKEN>
3
4# Prepare Actor input
5cat > input.json <<'EOF'
6{
7  "shippingInfo": "ispStore~1408:ifcStore~1401@ifcStoreState~US-WA@method~INSTORE_PICKUP",
8  "maxItems": 10,
9  "endPage": 5,
10  "startUrls": [
11    "https://www.totalwine.com/spirits/c/c0030?&pageSize=24&aty=1,1,0,1"
12  ],
13  "extendOutputFunction": "($) => { return {} }",
14  "customMapFunction": "(object) => { return {...object} }",
15  "proxy": {
16    "useApifyProxy": true,
17    "apifyProxyCountry": "US",
18    "apifyProxyGroups": [
19      "RESIDENTIAL"
20    ]
21  }
22}
23EOF
24
25# Run the Actor using an HTTP API
26# See the full API reference at https://docs.apify.com/api/v2
27curl "https://api.apify.com/v2/acts/oyildirim~totalwine-actor/runs?token=$API_TOKEN" \
28  -X POST \
29  -d @input.json \
30  -H 'Content-Type: application/json'
Developer
Maintained by Community
Actor metrics
  • 4 monthly users
  • 100.0% runs succeeded
  • 0.0 days response time
  • Created in Jun 2022
  • Modified 25 days ago