from urllib.request import urlopen
import yaml
f = urlopen("https://pad.xpub.nl/p/XPUB-promo-terms/export/txt")
terms = yaml.load(f)
print (terms)