Skip to main content

Untapped beer list scraper for Big Hops San Antonio

Project description

# BeerMe

beerme is an untapped scraper for Big Hops locations in San Antonio, TX.
I built this utility because javascript page flipper is either too slow or too fast
(depending on which page you are looking at). Untapped does provide API access, but
only to certain individuals.

## Installation
```shell
$ pip install beerme
```

If that does not work, make sure you have python and pip installed. Also, you may need to use
sudo or the `--user` flag for `pip`

## Usage

```
usage: beerme [-h] [--list] [-J] [--dump] [-p] [-d] [-f] [-s SEARCH]
[-e EXCLUDE]
[location]

BeerMe BigHops script 0.9

positional arguments:
location Beer target

optional arguments:
-h, --help show this help message and exit
--list list available locations
-J, --json Output information in json
--dump Dump the raw tap list html
-p, --show-prices Show price and volume data
-d, --draft-only Exclude bottles and cans
-f, --fills-only Only include beer that can be purchased in growlers
-s SEARCH, --search SEARCH
A keyword to search for. For example: "IPA". This can
be used multiple times to create a compound search
-e EXCLUDE, --exclude EXCLUDE
A keyword used to exclude results. For example:
"Sour". This can be used multiple times
```
For example:

```
$ beerme bh-bitters -s IPA -s Pale -e Imperial
Tejas Clara / Big Bend
Lager - Pale | 4.3% ABV

Merry Buffing Xmas / Buffalo Bayou
IPA - American brewed with Spruce tips | 7.6% ABV

Axis IPA / Real Ale
IPA - American | 7% ABV

Pub Crawl / Saint Arnold
Pale Ale - American | 4.7% ABV

Syncopation / NOLA
IPA - American | 6% ABV

Celebration Ale / Sierra Nevada
IPA - American | 6.8% ABV

Accumulation (2018) / New Belgium
IPA - White | 6.2% ABV

Citradelic: Tangerine IPA / New Belgium
IPA - American | 6% ABV

SMaSh and GRaB / Legal Draft Beer
IPA - American | 6.2% ABV
```

## Locations

Currently, I have hard code the following location map in the source

```python
location_map = {
'bh-bridge': 'https://business.untappd.com/boards/24264',
'bh-bitters': 'https://business.untappd.com/boards/24239',
'bh-huebner': 'https://business.untappd.com/boards/24278',
'bh-shaenfield': 'https://business.untappd.com/boards/27711'
}
```

It should be trivial to adapt this source to work with other locales

## Notice

I do not represent Big Hops or Untapped in any way. Use this software at your own risk.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

beerme-1.1.tar.gz (4.3 kB view details)

Uploaded Source

Built Distributions

beerme-1.1-py3.7.egg (4.6 kB view details)

Uploaded Source

beerme-1.1-py3-none-any.whl (4.7 kB view details)

Uploaded Python 3

beerme-1.1-py2.7.egg (8.0 kB view details)

Uploaded Source

beerme-1.1-py2-none-any.whl (4.7 kB view details)

Uploaded Python 2

File details

Details for the file beerme-1.1.tar.gz.

File metadata

  • Download URL: beerme-1.1.tar.gz
  • Upload date:
  • Size: 4.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: Python-urllib/3.7

File hashes

Hashes for beerme-1.1.tar.gz
Algorithm Hash digest
SHA256 93aca692c7f8e77b5a472dad0ac4da9474de568b65ea824ec577c411c4145d22
MD5 5347831f4a1cb72810c7a424dc110f5d
BLAKE2b-256 fd9b1c1c370aee6fd230fe1d1422f1bd9b02278a294de3ba44c11912526d896d

See more details on using hashes here.

File details

Details for the file beerme-1.1-py3.7.egg.

File metadata

  • Download URL: beerme-1.1-py3.7.egg
  • Upload date:
  • Size: 4.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: Python-urllib/3.7

File hashes

Hashes for beerme-1.1-py3.7.egg
Algorithm Hash digest
SHA256 879fd1c37c46da85bcac9e296a18fdcd5c0ad10ef5948b6b4e6ac1306ccd28a1
MD5 9b86a53fa1a827fd57c808595d4f9966
BLAKE2b-256 d95345f250668135f31f9cc908fdafd7991bcfbdec081b07c1ece1dab72c2177

See more details on using hashes here.

File details

Details for the file beerme-1.1-py3-none-any.whl.

File metadata

  • Download URL: beerme-1.1-py3-none-any.whl
  • Upload date:
  • Size: 4.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: Python-urllib/3.7

File hashes

Hashes for beerme-1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 5b06b141a7d503ed798c5f98efc13218663512d482096657c7056ff77c1421ae
MD5 49777c49b89216ce721c06063aab9147
BLAKE2b-256 f4d818098a373fef890ae1f9b6433433ca0e636f6ae01970c243668c7431f5e3

See more details on using hashes here.

File details

Details for the file beerme-1.1-py2.7.egg.

File metadata

  • Download URL: beerme-1.1-py2.7.egg
  • Upload date:
  • Size: 8.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: Python-urllib/2.7

File hashes

Hashes for beerme-1.1-py2.7.egg
Algorithm Hash digest
SHA256 51e8ec5fc45c942ac04e562fe0dbf528c656851fef9c7e741192838d31131b3e
MD5 9c5028d737035768a91f4c8f14efd78f
BLAKE2b-256 0fa580cb2d8e69e474c1b6b747216512d7c665702e5312de10eb871b60296681

See more details on using hashes here.

File details

Details for the file beerme-1.1-py2-none-any.whl.

File metadata

  • Download URL: beerme-1.1-py2-none-any.whl
  • Upload date:
  • Size: 4.7 kB
  • Tags: Python 2
  • Uploaded using Trusted Publishing? No
  • Uploaded via: Python-urllib/2.7

File hashes

Hashes for beerme-1.1-py2-none-any.whl
Algorithm Hash digest
SHA256 96546caab7bb15eb291bc06121da979306d29e31b6aab9d5bc61ea9f8e908e25
MD5 26159674d0e60d09d660395e8d94c9c9
BLAKE2b-256 1dbf7b60815bbe42f3269ac4c5cd6fe1e7a656d48919c314a8a7650144c64e99

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page