This repository has been archived by the owner on Dec 26, 2021. It is now read-only.
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Sessions are failing to renew, because used request headers are set on the TwitterSession instance, but never reset. Thus, trying to login_guest() with an outdated X-Guest-Token will make the activate.json request for the new token be rejected because of that outdated token. Solution: Reset TwitterSession._headers in renew_session() to just have the User-Agent value before trying to login.
- Loading branch information