Hello,
I run initialize_bot.py with <api_key> and instagram acount about and enter <acount_summary> and hashtag and have error in this part:
JSON Query to explore/tags/design/: 404 Not Found [retrying; skip with ^C]
JSON Query to explore/tags/design/: 404 Not Found [retrying; skip with ^C]
Traceback (most recent call last):
File "/home/taha/gpt/lib/python3.11/site-packages/instaloader/instaloadercontext.py", line 405, in get_json
raise QueryReturnedNotFoundException("404 Not Found")
instaloader.exceptions.QueryReturnedNotFoundException: 404 Not Found
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/home/taha/gpt/lib/python3.11/site-packages/instaloader/instaloadercontext.py", line 405, in get_json
raise QueryReturnedNotFoundException("404 Not Found")
instaloader.exceptions.QueryReturnedNotFoundException: 404 Not Found
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/home/taha/gpt/lib/python3.11/site-packages/instaloader/instaloadercontext.py", line 405, in get_json
raise QueryReturnedNotFoundException("404 Not Found")
instaloader.exceptions.QueryReturnedNotFoundException: 404 Not Found
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "/home/taha/gpt/AutoGPT-Social/initialize_bot.py", line 66, in <module>
main()
File "/home/taha/gpt/AutoGPT-Social/initialize_bot.py", line 59, in main
hashtags = get_related_hashtags([hashtag.strip().replace('#', '') for hashtag in hashtags_input.split(',')])
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/taha/gpt/AutoGPT-Social/instagram_util/hashtags.py", line 11, in get_related_hashtags
posts = L.get_hashtag_posts(hashtag)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/taha/gpt/lib/python3.11/site-packages/instaloader/instaloader.py", line 1204, in get_hashtag_posts
return Hashtag.from_name(self.context, hashtag).get_posts_resumable()
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/taha/gpt/lib/python3.11/site-packages/instaloader/structures.py", line 1662, in from_name
hashtag._obtain_metadata()
File "/home/taha/gpt/lib/python3.11/site-packages/instaloader/structures.py", line 1676, in _obtain_metadata
self._node = self._query({"__a": 1, "__d": "dis"})
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/taha/gpt/lib/python3.11/site-packages/instaloader/structures.py", line 1671, in _query
json_response = self._context.get_json("explore/tags/{0}/".format(self.name), params)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/taha/gpt/lib/python3.11/site-packages/instaloader/instaloadercontext.py", line 435, in get_json
return self.get_json(path=path, params=params, host=host, session=sess, _attempt=_attempt + 1,
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/taha/gpt/lib/python3.11/site-packages/instaloader/instaloadercontext.py", line 435, in get_json
return self.get_json(path=path, params=params, host=host, session=sess, _attempt=_attempt + 1,
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/taha/gpt/lib/python3.11/site-packages/instaloader/instaloadercontext.py", line 423, in get_json
raise QueryReturnedNotFoundException(error_string) from err
instaloader.exceptions.QueryReturnedNotFoundException: JSON Query to explore/tags/design/: 404 Not Found
Hello, I run
initialize_bot.py
with<api_key>
and instagram acount about and enter<acount_summary>
and hashtag and have error in this part: