initzercreations / tracgram Goto Github PK
View Code? Open in Web Editor NEWUse Instagram location features to track an account
License: MIT License
Use Instagram location features to track an account
License: MIT License
โโ# python tracgram.py
Traceback (most recent call last):
File "/home/kali/OSINT/Tracgram/tracgram/tracgram.py", line 124, in
main()
File "/home/kali/OSINT/Tracgram/tracgram/tracgram.py", line 119, in main
tracgram.retreive_location_data(tracgram.get_profile_posts())
File "/home/kali/OSINT/Tracgram/tracgram/tracgram.py", line 21, in get_profile_posts
self.L.login(str(self.nickname), str(self.password))
File "/usr/local/lib/python3.10/dist-packages/instaloader/instaloader.py", line 634, in login
self.context.login(user, passwd)
File "/usr/local/lib/python3.10/dist-packages/instaloader/instaloadercontext.py", line 257, in login
raise BadCredentialsException('Login error: Wrong password.')
instaloader.exceptions.BadCredentialsException: Login error: Wrong password.
Hi, I keep getting an error whenever I type "python3 trackgram.py"
python3: can't open file '/home/bobtheman175/Tracgram/trackgram.py': [Errno 2] No such file or directory
I followed the other steps but I do not understand what this error is.
Hey, nice tool ! Where can I contact you private ? Thanks !
It doesn't work when the IG account has 2FA enabled.
Posts processed: 35
JSON Query to explore/locations/157309016434608/: HTTP error code 401. [retrying; skip with ^C]
JSON Query to explore/locations/157309016434608/: HTTP error code 401. [retrying; skip with ^C]
Traceback (most recent call last):
File "/usr/local/lib/python3.11/dist-packages/instaloader/instaloadercontext.py", line 351, in get_json
raise ConnectionException("HTTP error code {}.".format(resp.status_code))
instaloader.exceptions.ConnectionException: HTTP error code 401.
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/local/lib/python3.11/dist-packages/instaloader/instaloadercontext.py", line 351, in get_json
raise ConnectionException("HTTP error code {}.".format(resp.status_code))
instaloader.exceptions.ConnectionException: HTTP error code 401.
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/local/lib/python3.11/dist-packages/instaloader/instaloadercontext.py", line 351, in get_json
raise ConnectionException("HTTP error code {}.".format(resp.status_code))
instaloader.exceptions.ConnectionException: HTTP error code 401.
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "/root/Tracgram/tracgram/tracgram.py", line 37, in retreive_location_data
if post.location != None:
^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/dist-packages/instaloader/structures.py", line 640, in location
loc.update(self._context.get_json("explore/locations/{0}/".format(location_id),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/dist-packages/instaloader/instaloadercontext.py", line 394, in get_json
return self.get_json(path=path, params=params, host=host, session=sess, _attempt=_attempt + 1)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/dist-packages/instaloader/instaloadercontext.py", line 394, in get_json
return self.get_json(path=path, params=params, host=host, session=sess, _attempt=_attempt + 1)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/dist-packages/instaloader/instaloadercontext.py", line 384, in get_json
raise ConnectionException(error_string) from err
instaloader.exceptions.ConnectionException: JSON Query to explore/locations/157309016434608/: HTTP error code 401.
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/root/Tracgram/tracgram/tracgram.py", line 124, in
main()
File "/root/Tracgram/tracgram/tracgram.py", line 119, in main
tracgram.retreive_location_data(tracgram.get_profile_posts())
File "/root/Tracgram/tracgram/tracgram.py", line 53, in retreive_location_data
self.L.InstaloaderContext.error_catcher(e)
^^^^^^^^^^^^^^^^^^^^^^^^^
AttributeError: 'Instaloader' object has no attribute 'InstaloaderContext'
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.