Giter VIP home page Giter VIP logo

Comments (5)

s41r4j avatar s41r4j commented on September 22, 2024

Seems like prob with managing csrf token!

Please provide the following details:
- os
- python version
- command used

from igbf.

sh0xl avatar sh0xl commented on September 22, 2024

hi i need help with this error

Traceback (most recent call last):
File "/root/igbf/igbf.py", line 543, in
main()
File "/root/igbf/igbf.py", line 409, in main
csrf_token = get_csrf_token()
^^^^^^^^^^^^^^^^
File "/root/igbf/igbf.py", line 107, in get_csrf_token
return content.cookies['csrftoken']
~~~~~~~~~~~~~~~^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/dist-packages/requests/cookies.py", line 334, in getitem
return self._find_no_duplicates(name)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/dist-packages/requests/cookies.py", line 413, in _find_no_duplicates
raise KeyError(f"name={name!r}, domain={domain!r}, path={path!r}")
KeyError: "name='csrftoken', domain=None, path=None"

from igbf.

Mamian1221 avatar Mamian1221 commented on September 22, 2024

Traceback (most recent call last):
File "/home/mamian/dox/Social_Rain/igbf/igbf.py", line 543, in
main()
File "/home/mamian/dox/Social_Rain/igbf/igbf.py", line 409, in main
csrf_token = get_csrf_token()
File "/home/mamian/dox/Social_Rain/igbf/igbf.py", line 107, in get_csrf_token
return content.cookies['csrftoken']
File "/usr/local/lib/python3.10/dist-packages/requests/cookies.py", line 334, in getitem
return self._find_no_duplicates(name)
File "/usr/local/lib/python3.10/dist-packages/requests/cookies.py", line 413, in _find_no_duplicates
raise KeyError(f"name={name!r}, domain={domain!r}, path={path!r}")
KeyError: "name='csrftoken', domain=None, path=None"

I need help with this

from igbf.

Gluchub avatar Gluchub commented on September 22, 2024

Seems like prob with managing csrf token!

Please provide the following details: - os - python version - command used

os - windows
python version- python 3.9
command used- python igbf.py -u myusername -p rockyou.txt

please reply

from igbf.

s41r4j avatar s41r4j commented on September 22, 2024

The problem is that instagram has changed some functionality the way the csrf tokens load in cookies - this is causing the error!
Seems like this is because of the new update (on there website), but as soon as I find a fix I'll update here!

Meanwhile - if anyone knows/found how to extract csrf token from instagram.com - please paste the solution/code here - it will be appreciated :)

thankyou y'all for being patient

from igbf.

Related Issues (6)

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.