KeyError: 'graphql'. Instaloader снова не работает
Пользуюсь alstaloader 2 месяца и никаких проблем не возникло. Сегодня я попытался загрузить Hastag и получил такую ошибку:
Traceback (most recent call last):
File "C:/Users/USER/pythonProject/Instaloader.py", line 18, in <module>
bot.download_hashtag(hashtag="moodoftheday",max_count=30)
File "C:\Users\USER\AppData\Local\Programs\Python\Python37\lib\site-packages\instaloader\instaloader.py", line 1023, in download_hashtag
hashtag = Hashtag.from_name(self.context, hashtag)
File "C:\Users\USER\AppData\Local\Programs\Python\Python37\lib\site-packages\instaloader\structures.py", line 1302, in from_name
hashtag._obtain_metadata()
File "C:\Users\USER\AppData\Local\Programs\Python\Python37\lib\site-packages\instaloader\structures.py", line 1316, in _obtain_metadata
self._node = self._query({"__a": 1})
File "C:\Users\USER\AppData\Local\Programs\Python\Python37\lib\site-packages\instaloader\structures.py", line 1312, in _query
params)["graphql"]["hashtag"]
KeyError: 'graphql'
Пробовал разные версии, и последнюю 4.7.1. Но проблема остается !! Когда я запускаю код, начинается загрузка, но через несколько секунд появляется указанная выше ошибка.
Вот мой код:
import instaloader
instance = instaloader.Instaloader()
instance.load_session_from_file("myfile")
instance.download_hashtag(hashtag="moodoftheday",max_count=30)
Кто-нибудь может мне помочь?
заранее спасибо