Skip to content

Instantly share code, notes, and snippets.

View apauley's full-sized avatar

Andreas Pauley apauley

View GitHub Profile
@apauley
apauley / update-pricedb.py
Last active February 25, 2020 08:23 — forked from keegancsmith/update-pricedb.py
Maintain .pricedb file for ledger3 for gbp/usd to zar
#!/usr/bin/env python3
# A script by Keegan Carruthers-Smith, with some small modifications
# https://gist.github.com/keegancsmith/0ac3542481b90cab3d6d421be14fe33e
from html.parser import HTMLParser
import datetime
import itertools
import os.path, glob
import urllib.request