mrtrieuphong / Facebook-Image-Backup

You can download all user's images on Facebook with the amazing application.
MIT License
13 stars 6 forks source link

IndexError: list index out of range #2

Closed jrdammert closed 1 year ago

jrdammert commented 1 year ago

Dear Phong,

Was trying out your project, but getting the following error (running on python 3.6.5)

Traceback (most recent call last): File "C:\Users\pc\Facebook-image-backup\login.py", line 70, in logIn self.name = content.split('id="mbasic_logout_button">')[1].split("")[0].split('(')[1].strip(')') IndexError: list index out of range

I know it has something to do with the length of the range, but I do not know how to solve it (newbie).

Kind regards!

mrtrieuphong commented 1 year ago

Hi @jrdammert, make sure your account is using english language. If this error still appears, you can pass it by assigning variable self.name to any string. For example, self.name = 'PhongCode'.

mrtrieuphong commented 1 year ago

This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.