Skip NoPayStation items with MISSING (delisted) pkg URLs

This commit is contained in:
2026-09-08 22:00:56 -04:00
parent c03f4619e6
commit 7cc5debfa6
+3 -1
View File
@@ -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: