Skip NoPayStation items with MISSING (delisted) pkg URLs
This commit is contained in:
+3
-1
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user