Closed Shraknard closed 3 years ago
Hello,
I have been going through the code and doing some tests. The problem seems to be when a company name has a comma in it, for example: "MyCompany, LLC".
This error also occurs when searching for employees when of the company "MyCompany, LLC".
To fix it I simply put a replace(',' ''), in the API call. I think it is enough because I have not identified more characters that generate an error.
Try now after applying the changes in master, if it is solved close the issue.
Hi !
The changes you've made didn't worked for me but I noticed they were dashes and parenthesis in the name it failed on.
So I followed your lead with the replace strategy and its now working when I replace parenthesis in search_people()
the same way you did with comas. Dashes seems not to be a problem.
I can now close the issue. Thanks a lot for your fast answer and for the tool !
Hello,
I have an error while trying to scrap Linkedn. it is able to get the list of companies but when trying to get the employees, it fail at some point. I tried this on a basic Ubuntu with python3. Thanks for the script anyway :)
Here is the command :
python3 socialpwned.py --credentials creds.json --output out.txt --linkedin --search-companies "MyCompany" --employees --pwndb
And here is the output :