Fix: 'NoneType' object has no attribute 'group'#359
Fix: 'NoneType' object has no attribute 'group'#359Zalez95 wants to merge 1 commit intoalthonos:masterfrom
Conversation
JFYI - I applied your patches, didn't seem to work. I might be bad at python. 🐍 |
I think that the error I was trying to solve was a different one, but without the full output I can't tell if it's a problem with my fix. I was trying to fix a login problem with the cookies. |
|
i use your patch since yesturday. go the same error important to note: only appear in your update idk why |
Looks like you did fix the problem you intended to solve but the next error is ERROR 'NoneType' object is not subscriptable when trying to download files from a profile |
unfortunately, this really does lead to the subscriptable error |
| session = cls._init_session(session) | ||
| headers = copy.deepcopy(session.headers) | ||
| homepage = "https://www.instagram.com/" | ||
| login_url = "https://www.instagram.com/accounts/login/ajax/" |
There was a problem hiding this comment.
removing the ajax prefix messes up the login token resulting in error of expecting value: line1 column 1 (char 0)
There was a problem hiding this comment.
Sorry I am new to this. So what should the login_url be? Will it fix the "......object is not subscriptable" error ?
|
Hey @Dimah4x now I recieved an error "systemerror: Token not found" what does that mean? could you help me out pls? |
|
This issue is still persisting for me. Any attempts to fix this? |
Fix for the issue #349, seems like a regular expression didn't find the token due to a change in the html returned during the login