gopherbay

A Gopher interface to The Pirate Bay
git clone https://git.parazyd.org/gopherbay
Log | Files | Refs | README

commit f3852a81dd79b177a08523faceceb172418863be
parent aa32b8c973734ab9b7f8f84e97c50e710f7a4041
Author: parazyd <parazyd@dyne.org>
Date:   Tue,  9 Feb 2021 13:59:31 +0100

Add ZEC donation address.

Diffstat:
Mconfig.py | 3++-
Mq.dcgi | 5+++--
2 files changed, 5 insertions(+), 3 deletions(-)

diff --git a/config.py b/config.py @@ -5,8 +5,9 @@ from collections import OrderedDict server = "https://apibay.org" -btc = "1Jexqn23JAiyCCFY3pvncuDkA3EiNn3Bst" +btc = "bc1q2c462lgwnzx929wdpn3zj9rgyfhw2fw2ertw56" xmr = "43Tj3TCzxH5E2ZEBCRmgJy2oxH5sXuHuGdYtGxU94gdXM8ujxgPLXDo9YAkufo5tAwfTHGswUVJxw1riMUDQAxJn9x73J5a" +zec = "zs1vjaapkjsd7rdheprsvmh2zuxg3pvwqy82vxxw6krpny4xudf9wdfv46laa5pt65ehqf32r3ue5p" categories = OrderedDict({ 100: "Audio", diff --git a/q.dcgi b/q.dcgi @@ -8,7 +8,7 @@ from urllib.parse import quote from os.path import basename from requests import get -from config import server, categories, btc, xmr +from config import server, categories, btc, xmr, zec def print_boat(): @@ -170,7 +170,8 @@ def print_index(): print("[1|Top 100 (48h)|/top48.dcgi|server|port]") print("\n-=-[ About ]-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-") print("[h|Donate BTC: %s|URL:bitcoin:%s|server|port]" % (btc, btc)) - print("[h|Donate XMR: %s|URL:monero:%s|server|port]\n" % (xmr, xmr)) + print("[h|Donate XMR: %s|URL:monero:%s|server|port]" % (xmr, xmr)) + print("[h|Donate ZEC: %s|URL:zcash:%s|server|port]\n" % (zec, zec)) if __name__ == "__main__":