GithubHelp home page GithubHelp logo

KeyError: 'followerCount' about maigret HOT 11 CLOSED

soxoj avatar soxoj commented on September 28, 2024
KeyError: 'followerCount'

from maigret.

Comments (11)

soxoj avatar soxoj commented on September 28, 2024

Hey @Bobpick, thanks for reporting. This is an error of library socid_extractor from requirements. I suppose it was fixed 2 weeks ago, but you still use old version. Please do pip3 install -r requirements.txt and check once again.

from maigret.

Bobpick avatar Bobpick commented on September 28, 2024

I did as you suggested, and the error remains:
[+] Ebay: https://www.ebay.com/usr/fluffybunny (redacted the username - I can provide upon PM)
Traceback (most recent call last):
File "/usr/lib/python3.6/runpy.py", line 193, in _run_module_as_main
"main", mod_spec)
File "/usr/lib/python3.6/runpy.py", line 85, in _run_code
exec(code, run_globals)
File "maigret/main.py", line 14, in
maigret.main()
File "maigret/maigret.py", line 752, in main
debug=args.debug)
File "maigret/maigret.py", line 404, in sherlock
extracted_ids_data = extract(r.text)
File "/home/bob/.local/lib/python3.6/site-packages/socid_extractor/main.py", line 662, in extract
value = get_field(json_data)
File "/home/bob/.local/lib/python3.6/site-packages/socid_extractor/main.py", line 565, in
'follower_count': lambda x: x['person-contacts-count-models'][0]['followerCount'],
KeyError: 'followerCount'

from maigret.

Greshnik83 avatar Greshnik83 commented on September 28, 2024

from maigret.

soxoj avatar soxoj commented on September 28, 2024

@Bobpick okay, PM me username, please

from maigret.

Bobpick avatar Bobpick commented on September 28, 2024

I don't see how to do so on Github, so I followed you on twitter, I can send you a PM there.

from maigret.

soxoj avatar soxoj commented on September 28, 2024

Got the username and tested search with it, thank you. Fixed ambiguity in socid_extractor detecting rules, you must reinstall dependencies again and the problem should be solved.
pip3 install -r requirements.txt --upgrade --force-reinstall

from maigret.

Bobpick avatar Bobpick commented on September 28, 2024

I did the above, and it threw an error. Sorry, I just upgraded my Python to 3.8.5
This is the error I now receive when trying to use that username.

Traceback (most recent call last):
File "/usr/local/lib/python3.8/runpy.py", line 194, in _run_module_as_main
return _run_code(code, main_globals, None,
File "/usr/local/lib/python3.8/runpy.py", line 87, in _run_code
exec(code, run_globals)
File "maigret/main.py", line 11, in
import maigret
File "maigret/maigret.py", line 11, in
import aiohttp
ModuleNotFoundError: No module named 'aiohttp'

from maigret.

soxoj avatar soxoj commented on September 28, 2024

Oh, I see. Update the code from repository with git pull or install aiohttp manually: pip3 install aiohttp==3.5.4

from maigret.

soxoj avatar soxoj commented on September 28, 2024

@Bobpick any progress?

from maigret.

Bobpick avatar Bobpick commented on September 28, 2024

Yes, after I upgraded to Ubuntu 20.04 LTS, it works like a champ!

from maigret.

soxoj avatar soxoj commented on September 28, 2024

Great!

from maigret.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.