Actowiz Metrics Real-time
logo
analytics dashboard for brands! Try Free Demo
how-to-scrape-liquor-pricing-and-delivery-status-data-from-total-wine-stores

In this blog, we will help you learn about building a web scraper that will help you scrape data on prices and delivery status of liquor from More, Total Wine, and other stores.

The main idea of this blog is to tell you How to Scrape Liquor Pricing and Delivery Status Data from Total Wine Stores and how Actowiz Solutions can help you in that.

To help you with data extraction of liquor delivery status and prices from different stores, we will utilize Python 3 along with Python libraries. Let us know about the data fields fetched into an excel sheet:

  • Name
  • Size/Quantity
  • Price
  • URL
  • Delivery Available
  • InStock

You will get the data extracted in CSV file format which would like the data shown in the image below:

Required-Package-to-Install-For-Running-Total-Wine-and-More-Web-Scrapers

Required Package to Install For Running Total Wine and More Web Scrapers

We will start with the installation of Python 3 for data extraction along with the Python libraries given below

Python requests – Use to create requests & download HTML scripts of webpages.

Selectorlib – Used for data extraction with the help of YAML files created from the downloaded web pages.

Now, you need to install them using pip3 using the command given below

pip3 install requests selectorlib

The Python Code

Now, simply create a file with the name products.py and then paste the following code into it.

The-python-Code-1

Research on Customer Statistics and Preferences

To live in the competitive e-commerce industry, you have to identify the requirements and wishes of your targeted market. Utilize e-commerce data scrapers to scrape as well as analyze the array of services and products your competitors offer to find a superior idea about how to grow your business.‌

As a lot of new services and products come into the market daily, utilize e-commerce product scrapers and data scrapers to make a listing of all services and products that competitors provide. After that, you can utilize keywords for going through the listing and understand which services and products you can provide to get an edge over your e-commerce stores.‌

You may also utilize data scraping for doing predictive sentiment analysis for determining what your clients are discussing about. By extracting through different social media websites, it’s easy to collect important statistics regarding consumers’ experiences, preferences, as well as opinions on different services and products. It will assist you in boosting your business’s user experience and appeal.

Now, let’s look at the result of executing the above code:

It reads through a list of Total Wine stores from url.text file. (The url.text file comprises URLs for product pages for different beverages like Wines, Scotch, Beer, etc)

It utilizes selectorlib YAML file that finds the data on a particular page of Total Wine. It is then saved as a file named selectors.yml.

The code performs data scraping to yield the desired information.

It saves the data in CSV format as data.csv

Construct YAML File – selectors.yml

Now, you will see that there is a file used in the above code known as selectors.yml. The file helps simplifies the code and keeps it transparent. It is a Web Scraper tool named as Selectorlib that helps create the file selectors.yml.

Knowing More About the Efficient Tool – Selectorlib

It is an efficient tool that enables effortless marking up, selection, and web data extraction through web page visuals.

The Selectorlib Web Scraper Chrome Extension allows you to mark the desired data and prepares the CSS Selectors/XPaths required for data extraction. Also, it helps you preview how the data appears to be.

Note that if you want only the data just like the data shown above, then you do need to rely on Selectorlib.

Now, you can see the fields being marked up for data to enable data scraping with the help of Selectorlib Chrome Extension.

Knowing-MoreAbout-the-Efficient-Tool-Selectorlib

After you have finished building the template, just click on “Highlight” to show up preview the selectors. Lastly, click on “Export” and then download the file – YAML which is the selectors.yml file.

This is how your template file (selectors.yml) would appear like

The-python-Code-2

Run Total Wine & More Scraper

Here, you need to include the URL that you wish to scrape into urls.txt (text file) in a similar folder.

Here is the content of the urls.txt file

https://www.totalwine.com/spirits/scotch/single-malt/c/000887?viewall=true&pageSize=120&aty=0,0,0,0

Now, use the following command to run the scraper

python3 products.py

Challenges You May Face Using the Code and Other Tools or Copied Scripts Taken From the Internet

Code degenerates with time and as the website changes. Thus, code or old scripts corrupt with time.

Some of the problems you may come across using this code/tool not maintained for long are

With the change in website structure, for instance, the CSS selector used above to determine Price in the file selectors.yml (price__1JvDDp_x) is prone to change with each passing day.

The website can obstruct IP address/Ips from the Proxy provider

The website can obstruct the design for restoring the script's uses

The website can also restrict a user-agent

The website can include fresh data points or change a new one

Conclusion

To overcome the above challenges and many others, you can seek consultation from expert web data extraction companies like Actowiz Solutions for better data insights. We help you eliminate the hurdles faced after using internet-based DIY scripts and tools. We assist you to avoid trial and error and offer web scraping services that prevent the degeneration of code in the long run. With the help of our skilled API developers,’ you can sail through an easy scraping process even for complex projects. Let us connect to discuss your data scraping needs today.

Social Proof That Converts

Trusted by Global Leaders Across Q-Commerce, Travel, Retail, and FoodTech

Our web scraping expertise is relied on by 4,000+ global enterprises including Zomato, Tata Consumer, Subway, and Expedia — helping them turn web data into growth.

4,000+ Enterprises Worldwide
50+ Countries Served
20+ Industries
Join 4,000+ companies growing with Actowiz →
Real Results from Real Clients

Hear It Directly from Our Clients

Watch how businesses like yours are using Actowiz data to drive growth.

1 min
★★★★★
"Actowiz Solutions offered exceptional support with transparency and guidance throughout. Anna and Saga made the process easy for a non-technical user like me. Great service, fair pricing!"
TG
Thomas Galido
Co-Founder / Head of Product at Upright Data Inc.
2 min
★★★★★
"Actowiz delivered impeccable results for our company. Their team ensured data accuracy and on-time delivery. The competitive intelligence completely transformed our pricing strategy."
II
Iulen Ibanez
CEO / Datacy.es
1:30
★★★★★
"What impressed me most was the speed — we went from requirement to production data in under 48 hours. The API integration was seamless and the support team is always responsive."
FC
Febbin Chacko
-Fin, Small Business Owner
icons 4.8/5 Average Rating
icons 50+ Video Testimonials
icons 92% Client Retention
icons 50+ Countries Served

Join 4,000+ Companies Growing with Actowiz

From Zomato to Expedia — see why global leaders trust us with their data.

Why Global Leaders Trust Actowiz

Backed by automation, data volume, and enterprise-grade scale — we help businesses from startups to Fortune 500s extract competitive insights across the USA, UK, UAE, and beyond.

icons
7+
Years of Experience
Proven track record delivering enterprise-grade web scraping and data intelligence solutions.
icons
4,000+
Projects Delivered
Serving startups to Fortune 500 companies across 50+ countries worldwide.
icons
200+
In-House Experts
Dedicated engineers across scrapers, AI/ML models, APIs, and data quality assurance.
icons
9.2M
Automated Workflows
Running weekly across eCommerce, Quick Commerce, Travel, Real Estate, and Food industries.
icons
270+ TB
Data Transferred
Real-time and batch data scraping at massive scale, across industries globally.
icons
380M+
Pages Crawled Weekly
Scaled infrastructure for comprehensive global data coverage with 99% accuracy.

AI Solutions Engineered
for Your Needs

LLM-Powered Attribute Extraction: High-precision product matching using large language models for accurate data classification.
Advanced Computer Vision: Fine-grained object detection for precise product classification using text and image embeddings.
GPT-Based Analytics Layer: Natural language query-based reporting and visualization for business intelligence.
Human-in-the-Loop AI: Continuous feedback loop to improve AI model accuracy over time.
icons Product Matching icons Attribute Tagging icons Content Optimization icons Sentiment Analysis icons Prompt-Based Reporting

Connect the Dots Across
Your Retail Ecosystem

We partner with agencies, system integrators, and technology platforms to deliver end-to-end solutions across the retail and digital shelf ecosystem.

icons
Analytics Services
icons
Ad Tech
icons
Price Optimization
icons
Business Consulting
icons
System Integration
icons
Market Research
Become a Partner →

Popular Datasets — Ready to Download

Browse All Datasets →
icons
Amazon
eCommerce
Free 100 rows
icons
Zillow
Real Estate
Free 100 rows
icons
DoorDash
Food Delivery
Free 100 rows
icons
Walmart
Retail
Free 100 rows
icons
Booking.com
Travel
Free 100 rows
icons
Indeed
Jobs
Free 100 rows

Latest Insights & Resources

View All Resources →
thumb
Blog

Noon SA, Amazon.sa & Jarir: The 2026 Guide to Saudi E-commerce Data Extraction

Complete guide to scraping Noon Saudi Arabia, Amazon.sa, Jarir, and Extra for Saudi e-commerce intelligence. Built for brands entering KSA, regional distributors, and Vision 2030 investors.

thumb
Case Study

How We Enabled a Retail Brand to Scrape Cracker Barrel restaurants locations Data in the USA in 2026 for Location Intelligence

Scrape Cracker Barrel restaurants locations Data in the USA in 2026 to analyze store presence, expansion trends, and location intelligence.

thumb
Report

Scrape Tim Hortons restaurants locations Data in USA to uncover expansion trends, store distribution insights, and competitive benchmarking strategies.

Scrape Tim Hortons restaurants locations Data in USA to uncover expansion trends, store distribution insights, and competitive benchmarking strategies.

Start Where It Makes Sense for You

Whether you're a startup or a Fortune 500 — we have the right plan for your data needs.

icons
Enterprise
Book a Strategy Call
Custom solutions, dedicated support, volume pricing for large-scale needs.
icons
Growing Brand
Get Free Sample Data
Try before you buy — 500 rows of real data, delivered in 2 hours. No strings.
icons
Just Exploring
View Plans & Pricing
Transparent plans from $500/mo. Find the right fit for your budget and scale.
Get in Touch
Let's Talk About
Your Data Needs
Tell us what data you need — we'll scope it for free and share a sample within hours.
  • icons
    Free Sample in 2 HoursShare your requirement, get 500 rows of real data — no commitment.
  • icons
    Plans from $500/monthFlexible pricing for startups, growing brands, and enterprises.
  • icons
    US-Based SupportOffices in New York & California. Aligned with your timezone.
  • icons
    ISO 9001 & 27001 CertifiedEnterprise-grade security and quality standards.
Request Free Sample Data
Fill the form below — our team will reach out within 2 hours.
+1
Free 500-row sample · No credit card · Response within 2 hours

Request Free Sample Data

Our team will reach out within 2 hours with 500 rows of real data — no credit card required.

+1
Free 500-row sample · No credit card · Response within 2 hours