InstaLooter icon indicating copy to clipboard operation
InstaLooter copied to clipboard

Fix: 'NoneType' object has no attribute 'group'

Open Zalez95 opened this issue 2 years ago • 7 comments

Fix for the issue https://github.com/althonos/InstaLooter/issues/349, seems like a regular expression didn't find the token due to a change in the html returned during the login

Zalez95 avatar Jun 08 '22 07:06 Zalez95

/Users/bdmorin/Library/Python/3.9/bin/instalooter user ** ./**/ -e -v -m
2022-06-08 13:24:34 dredl0ck instalooter.cli[84584] NOTICE Starting download of `***`
2022-06-08 13:24:35 dredl0ck instalooter.cli[84584] CRITICAL 'NoneType' object is not subscriptable

JFYI - I applied your patches, didn't seem to work. I might be bad at python. 🐍

bdmorin avatar Jun 08 '22 18:06 bdmorin

/Users/bdmorin/Library/Python/3.9/bin/instalooter user ** ./**/ -e -v -m
2022-06-08 13:24:34 dredl0ck instalooter.cli[84584] NOTICE Starting download of `***`
2022-06-08 13:24:35 dredl0ck instalooter.cli[84584] CRITICAL 'NoneType' object is not subscriptable

JFYI - I applied your patches, didn't seem to work. I might be bad at python. snake

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.

Zalez95 avatar Jun 08 '22 18:06 Zalez95

i use your patch since yesturday. go the same error ERROR 'NoneType' object is not subscriptable

important to note: only appear in your update idk why

Sn0wAlice avatar Jun 09 '22 06:06 Sn0wAlice

/Users/bdmorin/Library/Python/3.9/bin/instalooter user ** ./**/ -e -v -m
2022-06-08 13:24:34 dredl0ck instalooter.cli[84584] NOTICE Starting download of `***`
2022-06-08 13:24:35 dredl0ck instalooter.cli[84584] CRITICAL 'NoneType' object is not subscriptable

JFYI - I applied your patches, didn't seem to work. I might be bad at python. snake

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.

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

matthewdickson1 avatar Jun 10 '22 19:06 matthewdickson1

/Users/bdmorin/Library/Python/3.9/bin/instalooter user ** ./**/ -e -v -m
2022-06-08 13:24:34 dredl0ck instalooter.cli[84584] NOTICE Starting download of `***`
2022-06-08 13:24:35 dredl0ck instalooter.cli[84584] CRITICAL 'NoneType' object is not subscriptable

JFYI - I applied your patches, didn't seem to work. I might be bad at python. snake

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.

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 from my view the script fails to send user_data to from_username function under pages.py in the instalooter library and since the user_data is NONE it returns an error a personal hunch is telling me the problem is with looters.py download function or the progress bar as the iterator is faulty?

Dimah4x avatar Jul 28 '22 20:07 Dimah4x

Hey @Dimah4x now I recieved an error "systemerror: Token not found" what does that mean? could you help me out pls?

KalikHub avatar Dec 29 '22 16:12 KalikHub