External Publication
Visit Post

Units_cur Jan 2026 packetizer problem and fix

F-Droid Forum [Unofficial] February 25, 2026
Source
$ cat units_curr_packetizer_fix.patch
--- /data/data/com.termux/files/usr/bin/units_cur_orig  2026-01-18 04:37:00.000000000 +0000
+++ /data/data/com.termux/files/usr/bin/units_cur       2026-02-23 13:14:19.028000173 +0000
@@ -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():

The above patch should fix the problem.

I hope it posted correctly.

I’m out of time at the moment.

Discussion in the ATmosphere

Loading comments...