gopherbay

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

commit f5a548ab71a6a448631d746bcdcca6c9c22e0300
parent abd5992312419488226d4e61b35ca749268e7060
Author: parazyd <parazyd@dyne.org>
Date:   Sun,  7 Feb 2021 19:05:01 +0100

Add XMR donation address.

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

diff --git a/config.py b/config.py @@ -6,6 +6,7 @@ from collections import OrderedDict server = "https://apibay.org" btc = "1Jexqn23JAiyCCFY3pvncuDkA3EiNn3Bst" +xmr = "43Tj3TCzxH5E2ZEBCRmgJy2oxH5sXuHuGdYtGxU94gdXM8ujxgPLXDo9YAkufo5tAwfTHGswUVJxw1riMUDQAxJn9x73J5a" 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 +from config import server, categories, btc, xmr def print_boat(): @@ -170,6 +170,7 @@ 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]\n" % (btc, btc)) + print("[h|Donate XMR: %s|URL:monero:%s|server|port]\n" % (xmr, xmr)) if __name__ == "__main__":