-
Notifications
You must be signed in to change notification settings - Fork 111
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fixed an issue with csrf token not being extracted correctly #164
base: master
Are you sure you want to change the base?
Conversation
Fixed Could not login: 'NoneType' object has no attribute 'get'
@anasomar1 Just replaced the helpers.py with your fix and it works great, thanks alot Anas. Since you seem to understand pyinstalive code, could you take a look for another fix which does not work on version 4.0.2 but was alright on version 3.2.4: |
@Jeffade1 You're welcome! By taking a look at the code in that file there seems to be a misunderstanding in how it should be implemented. In the code we check if there is a guest in the stream and if there is one, we download using "pyinstalive -d "guestname"". However, we always need to download the stream using the broadcast owner's name, even if the person we follow is a guest, the stream we'll download will be the stream of the person hosting our guest and not the stream of the guest, so we just need the owner's name. So the code in
to
I'll need to test the code above before actually making a PR and it might take a while as the people I follow barely go live |
@anasomar1 Deleting the 7 lines and aligning the last 2 makes it work. |
@Jeffade1 thanks for testing it. |
Thank you @anasomar1 for the PRs and your fork! |
@anasomar1 Thank you veryy muchhhh, it now allows log in!!! Love you! Try use it. Edit1: I can confirm that now all is working again, i can record the lives!!! Thank u very much @anasomar1 |
FYI: - Fixed an issue with csrf token not being extracted correctly by anasomar1 · Pull Request #164 · dvingerh/PyInstaLive dvingerh/PyInstaLive#164
I have no idea why but I'm getting all kinds of login error again. Such as
Maybe my burner got flagged? I tried my other accounts and got the same error on my instagram live recording server. |
@anasomar1 Could you help us with something like the @kdurov mentioned, logging using a cookies from browser? In many cases instagram mark my account as "BOT" then kick, and try re-login again from this program with python is very hard, instagram detect it, but if try use cookies, and if can also update the agent version, This would be great! EDIT: Some similar was made here #168 (comment) |
Fixed issue with csrf token and new error "Could not login: 'NoneType' object has no attribute 'get'"