From a3e11fa7516bec745dbaeb2e9f4e2dc82f1140f9 Mon Sep 17 00:00:00 2001 From: makeasnek Date: Sun, 10 Mar 2024 09:37:48 -0700 Subject: [PATCH] - Fix tests, remove CMC since it no longer tracks price --- main.py | 4 ---- 1 file changed, 4 deletions(-) diff --git a/main.py b/main.py index 4979fb4..474642b 100644 --- a/main.py +++ b/main.py @@ -146,10 +146,6 @@ # Dictionary for places we query in format key=url, value=Tuple[nickname,regex]. # Note they all must match group 2 PRICE_URL_DICT: Dict[str, Tuple[str, Union[str, re.Pattern]]] = { - "https://coinmarketcap.com/currencies/gridcoin/": ( - "coinmarketcap.com", - r'("low24h":)(\d*.\d*)', - ), "https://finance.yahoo.com/quote/GRC-USD/": ( "yahoo.com", r'(data-field="regularMarketPrice" data-trend="none" data-pricehint="\d" value=")(\d*\.\d*)',