InstaPy / InstaPy/instapy-quickstart
] Failed to get followers count of 'b'myusername'' ~empty list
- Lenguaje dominante
- Python
- Estrellas
- 777
- Forks
- 763
- Métricas de merge de PR
- Sin PR fusionados en 30 d
Descripción
hi
i have installed instapy and emoji. next i have launched follow unfollow script, but i receive alway this message:
..................................................................
INFO [2022-07-26 14:43:49] [sephiroth986] Logged in successfully!
''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''
INFO [2022-07-26 14:43:49] [sephiroth986] Saving account progress...
INFO [2022-07-26 14:44:41] [sephiroth986] Failed to get followers count of 'b'sephiroth986'' ~empty list
INFO [2022-07-26 14:45:32] [sephiroth986] Failed to get following count of 'b'sephiroth986'' ~empty list
WARNING [2022-07-26 14:45:32] [sephiroth986] Unable to save account progress, skipping data update
b"'NoneType' object has no attribute 'get'"
INFO [2022-07-26 14:45:33] [sephiroth986] Sessional Live Report:
|> No any statistics to show
[Session lasted 2.43 minutes]
OOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOO
INFO [2022-07-26 14:45:33] [sephiroth986] Session ended!
ooooooooooooooooooooooooooooooooooooooooooooooooooooooooo
Traceback (most recent call last):
File "C:\Users\orazi\AppData\Local\Programs\Python\Python310\Lib\site-packages\quickstart.py", line 58, in
with smart_run(session):
File "C:\Users\orazi\AppData\Local\Programs\Python\Python310\lib\contextlib.py", line 135, in __enter__
return next(self.gen)
File "C:\Users\orazi\AppData\Local\Programs\Python\Python310\Lib\site-packages\instapy\util.py", line 1983, in smart_run
session.login()
File "C:\Users\orazi\AppData\Local\Programs\Python\Python310\Lib\site-packages\instapy\instapy.py", line 475, in login
self.followed_by = log_follower_num(self.browser, self.username, self.logfolder)
File "C:\Users\orazi\AppData\Local\Programs\Python\Python310\Lib\site-packages\instapy\print_log_writer.py", line 21, in log_follower_num
followed_by = getUserData("graphql.user.edge_followed_by.count", browser)
File "C:\Users\orazi\AppData\Local\Programs\Python\Python310\Lib\site-packages\instapy\util.py", line 501, in getUserData
get_key = shared_data.get("entry_data").get("ProfilePage")
AttributeError: 'NoneType' object has no attribute 'get'
Guía de contribución
No hay ninguna guía de contribución indexada para este repositorio
Línea de trabajo
Start with instapy/util.py at getUserData and print_log_writer.py at log_follower_num, then follow the login path shown in instapy.py. Reproduce the follow/unfollow script and inspect why the follower and following lookups return an empty result. Done means the counts are obtained, account progress is saved, and the NoneType error no longer occurs.
Escrito por el modelo de indexación a partir del texto del issue.
Evaluación
- Stack tecnológico
- python
- Área
- api, backend
- Tipo de issue
- Error
- Dificultad
- 4/5
- Tiempo estimado
- 3-5 días
- Estado de actividad
- Estancado
- Claridad
- Necesita aclaración
- Aptitud para principiantes
- 25/100