Modern Apps git

← Modern-Apps.git

shop: merchant-links generator keeps to curated UCPList stores

Commit
db6725cbe7fafbf221f44cafcc8109f1e98d5213
Author
Vayun Mathur <[email protected]>
When
2026-11-01 23:16 UTC (1 month ago)
Parents
88ae4a2

Diff

scripts/shop/generate_merchant_links.py
diff --git a/scripts/shop/generate_merchant_links.py b/scripts/shop/generate_merchant_links.pyindex f53709d470..401cf9269b 100644--- a/scripts/shop/generate_merchant_links.py+++ b/scripts/shop/generate_merchant_links.py@@ -30,6 +30,10 @@ def fetch_domains() -> list[str]:         merchants = json.load(response)["merchants"]     hosts = set()     for merchant in merchants:+        # Only the curated UCPList entries ("live"/"announced"); the ~10k directly verified+        # seed stores ("verified") would make Android's open-by-default list unusable.+        if merchant.get("directoryStatus") == "verified":+            continue         domain = str(merchant.get("domain", "")).strip().lower()         if not HOST.match(domain):             continue