From 7cc5debfa687b2611e0bdc8fac7c3fe2ca780d6a Mon Sep 17 00:00:00 2001 From: Mathieu Moran Date: Tue, 8 Sep 2026 22:00:56 -0400 Subject: [PATCH] Skip NoPayStation items with MISSING (delisted) pkg URLs --- app/nopaystation.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/app/nopaystation.py b/app/nopaystation.py index b5ceb66..e620d05 100644 --- a/app/nopaystation.py +++ b/app/nopaystation.py @@ -99,7 +99,9 @@ def parse_tsv(text: str, content_type: str) -> List[dict]: row[canon] = cols[i].strip() name = row.get("name") or "" pkg_url = row.get("pkg_url") or "" - if not name or not pkg_url: + # NoPayStation marks delisted packages with the literal "MISSING" in the + # URL column — skip them so they can't be queued for download. + if not name or not pkg_url or not pkg_url.lower().startswith(("http://", "https://")): continue title_id = row.get("title_id") or "" try: