Skip to content

[New Module] Add username support for zomato.py #291

@kaifcodec

Description

@kaifcodec

Description

Add a new username validation module named zomato.py. This module should be placed in the user_scanner/user_scan/social/ directory.

Technical Details

  • Site Name: Zomato
  • Base URL: https://www.zomato.com/{username}/reviews
  • Category: social

Instructions for Contributors

  1. Analyze the Target: Use Browser DevTools, a Proxy, or curl to analyze how the site responds. Note that Zomato may require specific headers (like a modern User-Agent) to avoid being flagged as a bot.
  2. Validation Logic: * Always prefer using generic_validate() with a process callback.
    • Use your tools to find unique response strings. For example, look for keywords like "Activity" on valid profiles, or check if their 404 page uses phrases like "fairly clear" to identify an available username.
    • Avoid using status_validate() (status codes only) unless the site provides zero unique strings.
  3. Bot Detection & CAPTCHAs: If your analysis reveals that the site is heavily protected by CAPTCHAs, Cloudflare challenges, or aggressive anti-bot blocks that prevent consistent scanning, report it immediately in the comments so we can close the issue.
  4. Manual Recon: Manually test with a known existing account and a guaranteed non-existent account to find the most reliable identifiers in the response body.
  5. Code Consistency: Check the existing modules in user_scan/social/ to ensure your implementation matches our current structure and imports.
  6. Local Verification: Run the tool locally and verify your module works as expected before submitting your PR.

Metadata

Metadata

Assignees

No one assigned

    Labels

    good first issueGood for newcomersuser module additionPRs or issues related to new user_scan module additions

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions