jr0d / beerme

Untapped beer list scraper for Big Hops San Antonio
0 stars 1 forks source link

Failure loading all beers at bh-bitters #4

Closed jimbair closed 5 years ago

jimbair commented 5 years ago

Valid as of the time of posting this issue :)


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

BeerMe BigHops script 1.1

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

$ beerme bh-bitters
German Chocolate Cake / Buffalo Bayou
Stout - Milk / Sweet with Coconut, Chocolate, Vanilla | 7.6% ABV
()
Birthday Bomb! / Prairie Artisan Ales
Imperial stout aged on coffee, cacao nibs, vanilla beans and chile peppers. Finished with caramel sauce | 13% ABV
()
Montucky Cold Snack / Montucky Cold Snacks
Lager - North American Adjunct | 4.1% ABV
()
Wild Sour Series: Cranberry Criek / DESTIHL
Sour - Ale | 5% ABV
()
Bonus Pastor / Save The World
Scotch Ale | 9% ABV
()
Blood Orange / Austin Eastciders Collaboratory
Cider - Other Fruit | 5% ABV
()
Original Dry Cider / Austin Eastciders Collaboratory
Cider - Dry | 5% ABV
()
French Press / Saint Arnold
Porter - imperial coffee porter brewed with Java Pura Coffee Roasters Espresso blend coffee | 9.4% ABV
()
La Muerta Coconut (2018) / Freetail
Stout - Imperial | 8.5% ABV
()
Raspberry AF / Saint Arnold
Sour - Berliner Weisse | 3.7% ABV
()
PKL FKR / New Braunfels
Sour - Berliner Weisse | 3.2% ABV
()
Citrus Jammer / Sixpoint
Sour - Gose with sea salt & citrus added | 4% ABV
()
Rhapsody / Meridian Hive
Mead - Blackberry | 6.5% ABV
()
Bishop's Barrel No. 22 / Saint Arnold
Saison aged in Chardonnay barrels with peaches, apricots, and brettanomyces | 8% ABV
()
Saison De Poivre Citron (Local) / New Braunfels
American Wild Ale barrel aged with Meyer Lemons | 6% ABV
()
Redbud Berliner Weisse with Cucumber / Independence
Sour - Berliner Weisse | 4.3% ABV
()
Perpetual Peace / No Label
Scotch Ale Aged in Maker's Mark Bourbon & Four Roses Bourbon barrels | 11.6% ABV
()
Era / Prairie Artisan Ales
Dry Hopped Saison | 4% ABV
()
Ruby Red Grapefruit / Austin Eastciders Collaboratory
Cider - Other | 5% ABV
()
Pineapple Cider / Austin Eastciders Collaboratory
Cider - Fruit | 5% ABV
()
Dynamo / Meridian Hive
Mead - Other | 6.5% ABV
()
Celis White / Celis
Witbier | 4.9% ABV
()
Conserveza (Local) / Freetail
Blonde Ale | 4.9% ABV
()
Honey Pecan Cream Ale / Seguin
Cream Ale | 6.6% ABV
()
Traceback (most recent call last):
  File "/usr/local/bin/beerme", line 11, in <module>
    sys.exit(main())
  File "/usr/local/lib/python2.7/site-packages/beerme/beerme.py", line 180, in main
    list_output(tap_data, namespace.show_prices)
  File "/usr/local/lib/python2.7/site-packages/beerme/beerme.py", line 82, in list_output
    print('{name} / {brewery}\n{style} | {abv}'.format(**bev))
UnicodeEncodeError: 'ascii' codec can't encode character u'\xf6' in position 1: ordinal not in range(128)```
drewbrew commented 5 years ago

@tsuehpsyde Sorry, but you have to use Python 3 for this to work.