/vinbudin

Inventory of beers, wine, and spirits sold by Iceland's state alcholol monopoly, ÁTVR, in its Vínbúðin shops

Primary LanguagePython

This repository contains:

  • the code to scrape products and their current stock levels from vinbudin.is, the website of Iceland's state alcohol monopoly [ÁTVR] 1; and
  • data files containing these products and their current stock levels.

The code is in the form of a [Scrapy] 2-based scraper written using [Python 2.7] 3.

To load the data into two tables named vinbudin_products and vinbudin_stock in a [PostgreSQL] 4 database named data, run this command in the top-level directory of this repo:

 psql -d data -1 -f import.sql