the-convocation / twitter-scraper

A port of n0madic/twitter-scraper to Node.js.
https://the-convocation.github.io/twitter-scraper/
MIT License
211 stars 43 forks source link

Password authentication failing when using a password containing `#` #111

Open louisgrasset opened 1 month ago

louisgrasset commented 1 month ago

Context

How to reproduce? Calling Scrapper.login(username, password), with the previously given type of password

Current behavior The following error occures

{"errors":[{"code":399,"message":"Wrong password!"}]}

Expected behavior Being able to log in.

karashiiro commented 1 month ago

Do you happen to know what that gets sent as in the login flow? I can change my password to check later if not, not sure what they'd be replacing it with on the actual website, though. The password goes through a regular HTTP POST body, so it shouldn't be URL encoding or anything typical like that.