althonos / InstaLooter

Another API-less Instagram pictures and videos downloader.
GNU General Public License v3.0
2k stars 259 forks source link

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

Open Zalez95 opened 2 years ago

Zalez95 commented 2 years ago

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

bdmorin commented 2 years ago
/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. 🐍

Zalez95 commented 2 years ago
/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.

Sn0wAlice commented 2 years ago

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

matthewdickson1 commented 2 years ago
/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

Dimah4x commented 2 years ago
/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?

KalikHub commented 1 year ago

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

khanfarhan10 commented 2 weeks ago

This issue is still persisting for me. Any attempts to fix this?