Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Different problems for different social medias #230

Open
ofekdar opened this issue Oct 11, 2021 · 0 comments
Open

Different problems for different social medias #230

ofekdar opened this issue Oct 11, 2021 · 0 comments

Comments

@ofekdar
Copy link

ofekdar commented Oct 11, 2021

Hello,
I installed and tried to test Social Mapper but in every social media I try it on, i run into a different problem
For some, I made new accounts just to try it on them, and I tested logging into each one with the credentials I given, and they all work fine.
Here are the problems i faced:

On Linked In it exits after prompting this (Solved in the edit below):

[*] Obtained new session: [...]
Traceback (most recent call last):
  File "social_mapper.py", line 1079, in <module>
    for i in range(0, len(content['elements'])):
KeyError: 'elements'

I tried printing the content object, all it contains is {status: 500} (generic error)

For Twitter, I get the following message before exiting:
Twitter Login Page title field seems to have changed, please make an issue on: https://github.com/Greenwolf/social_mapper

And for Instagram, I get these warnings (Solved in the edit below):

[+] Instagram Login Page loaded successfully [+]
[path]/.local/lib/python3.8/site-packages/selenium/webdriver/remote/webdriver.py:483: UserWarning: find_element_by_* commands are deprecated. Please use find_element() instead
  warnings.warn("find_element_by_* commands are deprecated. Please use find_element() instead")
[-] Instagram Login Failed [-]

Instagram Check [...]                               [path]/.local/lib/python3.8/site-packages/selenium/webdriver/remote/webdriver.py:683: UserWarning: find_element_by_* commands are deprecated. Please use find_element() instead
  warnings.warn("find_element_by_* commands are deprecated. Please use find_element() instead")

[+] Instagram Login Page loaded successfully [+]
[+] Instagram Login Success [+]

[...searches...] 

Instagram and Twitter complete the search even after the error but they don't find anything with the default images that Social Mapper gives.

LinkedIn Edit: I didn't figure out why it didn't work but I tried running it again and it suddenly worked so I just hope that the problem won't return

Twitter Edit: I know the twitter problem is because the login page changed, but I can't figure out what to change to make it work again (except to change the title field to look for 'Twitter' instead)

Instagram Edit: The problem was that i was using an unstable version of selenium (4.0.0), when uninstalling it and installing version 3.141.0 stable, the warnings weren't displayed anymore

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant