Skip to content

Commit c8d5e5f

Browse files
committed
Fix for NZBs.in invite-only registration
1 parent 291d7b1 commit c8d5e5f

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

handlers/indexers.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -163,7 +163,10 @@ def NZBsin() -> Indexer | None:
163163

164164
return
165165
# "Registration is currently closed."
166-
elif not "currently closed" in data.lower():
166+
# "Registration is by invitation only."
167+
elif (not "currently closed" in data.lower()) and (
168+
not "invitation only" in data.lower()
169+
):
167170
logger.success(f"Indexer {meta.name} registration is open")
168171

169172
return meta

0 commit comments

Comments
 (0)