Skip to content

refactor(lovescape): update availability logic to infer email status via username validation#327

Merged
json-hunter07 merged 1 commit intomainfrom
edit/email-scan-modules
Apr 23, 2026
Merged

refactor(lovescape): update availability logic to infer email status via username validation#327
json-hunter07 merged 1 commit intomainfrom
edit/email-scan-modules

Conversation

@kaifcodec
Copy link
Copy Markdown
Owner

  • Refined logic in lovescape.py to improve accuracy for email availability checks.
  • Updated the error handling flow to correctly interpret "Username is already used" API responses.
  • Leveraged the API's validation sequence: if the "email already used" check passes but the username check triggers, the email is confirmed as not registered.
  • Enhanced reliability of the module by correctly mapping API error responses to Result.available status.

@kaifcodec kaifcodec changed the title refactor(lovescape): update availability logic to infer email status … refactor(lovescape): update availability logic to infer email status via username validation Apr 23, 2026
@kaifcodec kaifcodec requested a review from json-hunter07 April 23, 2026 05:28
Copy link
Copy Markdown
Collaborator

@json-hunter07 json-hunter07 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@kaifcodec Yeah it is now correctly handling the validation.
It seems like the site had changed their sign up logic.
Merging it!

@json-hunter07 json-hunter07 merged commit be57cce into main Apr 23, 2026
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants