Skip to content
Checks for vegan wines available at Vinmonopolet (Norway) using the database
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Type Name Latest commit message Commit time
Failed to load latest commit information.

Finds vegan wines in Vinmonopolet's product list, using the Barnivore API ( Employs fuzzy matching, as the manufacturer names in the databases don't always match, because of abbreviations and omissions of certain generic words in the full company name.

Uses python 3.x.

Install it like this (Ubuntu/Debian):

sudo apt-get install python3

Or for Mac: Install homebrew, then

brew install python3

Then install required dependencies:

pip3 install beautifulsoup4 --upgrade
pip3 install requests --upgrade
pip3 install fuzzywuzzy[speedup] --upgrade

Get the updated wine.json from
It may have encoding errors, invalid utf-8 in it.

Fix it with this command:

iconv --verbose -f utf-8 -t utf-8//ignore wine.json > winenew.json && mv winenew.json wine.json

Get the updated product list from Vinmonopolet, described at, available at



and validate the resulting list in the json files

Tips for validating the list

The list will include false positives because of the intentional fuzzy matching of manufacturers' names. Regexp-search for Varenavn|manufacturer_name in the json file to highlight these fields. Then for each company's wine list check if there is a name mismatch. Also check for when countries don't match exactly (dev.country_mismatch = true entries). Then delete bad ones.

After that, parse the json using to produce a human-readable HTML page

You can’t perform that action at this time.