mirror of
https://github.com/macports/macports-ports.git
synced 2026-07-12 18:20:25 -07:00
% gunits_cur
Error connecting to currency server:
404 Client Error: Not Found for url: https://services.packetizer.com/spotprices?f=json.
https://aur.archlinux.org/packages/units#comment-1056542
14 lines
542 B
Diff
14 lines
542 B
Diff
--- units_cur.orig 2025-12-24 14:47:44.000000000 +1100
|
|
+++ units_cur 2026-02-01 14:00:09.000000000 +1100
|
|
@@ -556,8 +556,8 @@
|
|
# Get precious metals data and bitcoin
|
|
#
|
|
|
|
-metals = getjson('https://services.packetizer.com/spotprices',{'f':'json'})
|
|
-bitcoin = getjson('https://services.packetizer.com/btc',{'f':'json'})
|
|
+metals = getjson('https://services.packetizer.com/spotprices/',{'f':'json'})
|
|
+bitcoin = getjson('https://services.packetizer.com/btc/',{'f':'json'})
|
|
|
|
metallist = ['']*len(validmetals)
|
|
for metal, price in metals.items():
|