Closed glennzw closed 4 years ago
same issue !
@theaayushanand @glennzw if you are still having the issue you can fix it quickly by adding
page = page.decode('utf-8')
before both loadPage calls in the login() method.
I have the same issue. This solves it for me:
-Open social_mapper.py in a text editor.
-find this line: page = loadPage(opener, "https://www.linkedin.com/uas/login")
and change it into: page = loadPage(opener, "https://www.linkedin.com/uas/login").decode('utf-8')
-now find this line: page = loadPage(opener,"https://www.linkedin.com/checkpoint/lg/login-submit", login_data)
and change it into : page = loadPage(opener,"https://www.linkedin.com/checkpoint/lg/login-submit", login_data).decode('utf-8')
Edited social_mapper.py to fix this, thanks
Even when not selecting LinkedIn (-li) I get the following error:
The full dump is:
Seems to originate from the
login()
function, specifically the line parsing the LinkedIn page via BeautifulSoup:parse = BeautifulSoup(page, "html.parser")
(https://github.com/Greenwolf/social_mapper/blob/master/social_mapper.py#L708)I've got the latest version of BS installed:
I haven't dug much deeper, but seems odd to try authenticate to LinkedIn (i) when I'm not selecting it, and (ii) I removed the LinkedIn creds from the
social_mapper.py
file.Any help greatly appreciated.