You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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'
The text was updated successfully, but these errors were encountered:
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'
The text was updated successfully, but these errors were encountered: