Skip to content

fix: update selectors for Snapchat v13.64.0 compatibility #3

@0xF9M

Description

@0xF9M

Draft Patch for Snapchat v13.64.0 Compatibility

Hey!

I've put together a quick draft patch to restore compatibility with the latest Snapchat web interface. You can check it out in my fork: 0xF9M/SnapBot

Important Disclaimer

This is NOT a production-ready fix, it's more of a working sketch that proves the concept works. The code definitely needs cleanup and proper refactoring before being merged upstream. I wanted to share it early in case it helps others or gives you a starting point.

I'll try to polish it when I have some free time, but feel free to use it as a reference or improve upon it in the meantime.

What's in this patch?

  • Updated selectors to match current Snapchat web UI (v13.64.0)
  • Added fallback selectors for backward compatibility

Known Issues

  • isLogged hardcoded to false: The current isLogged() method checks for the #ai_input selector to detect the login page. However, this selector no longer reliably exists on the new Snapchat login flow, causing the function to return true (logged in) when the user is actually not authenticated. A proper fix would require identifying the new login page selectors or checking for authenticated-only elements.

Full changelog

See CHANGELOG.md for all details.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions