I'm playing around and trying to build a FR bot but having an issue when trying to login. What I'm using:
- Windows
- Python 2.7
- Tornado 4.4 (SimpleAsyncHTTPClient)
- unicode_literals
- urllib.urlencode
FR constantly returns incorrect username/password. There is an account lock that I know works however I haven't been able to trigger once during debugging.
I have copy and pasted my setup, replaced tornado with mechanize and it works without issue.
Hardcoding the body generated from my tornado client fails whereas hardcoding the body generated by mechanize client works perfectly. Both used urllib.urlencode and generate completely identical bodies. Enabling unicode_literals didn't affect mechanize and FR.
I am completely lost so if anybody has any ideas, please post.