Comments (5)
Seems like prob with managing csrf token!
Please provide the following details:
- os
- python version
- command used
from igbf.
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.
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.
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.
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)
- proxies HOT 1
- csrf error HOT 1
- Missing required arguments
- Doesn't Work HOT 1
- UnboundLocalError with json_data HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from igbf.