[NudeMoon] use AuthRequiredException if no pages found

Koitharu 4 years ago
parent 0ee689cd2f
commit 8e23a7fcd4
No known key found for this signature in database
GPG Key ID: 8E861F8CE6E7CE27

@ -208,7 +208,11 @@ internal class NudeMoonParser(
}
return result
}
parseFailed("Cannot find pages list")
if (isAuthorized) {
parseFailed("Cannot find pages list")
} else {
throw AuthRequiredException(source)
}
}
private fun getSortKey(sortOrder: SortOrder?) =

Loading…
Cancel
Save