InstaPy / InstaPy/instapy-quickstart

KeyError: 'media'

Abierto
#100 3 comentarios 0 reacciones 0 asignados Ver en GitHub
Lenguaje dominante
Python
Estrellas
777
Forks
763
Métricas de merge de PR
Sin PR fusionados en 30 d

Descripción

Instapy will start, and when it finds the first post to comment, I get this issue:

" File "/Library/Python/2.7/site-packages/instapy/instapy.py", line 1756, in like_by_tags
self.logger)
File "/Library/Python/2.7/site-packages/instapy/like_util.py", line 560, in check_link
media = post_page[0]['media']
KeyError: 'media'
logout
"

Guía de contribución

No hay ninguna guía de contribución indexada para este repositorio

Línea de trabajo

Start with like_util.py at check_link line 560 and the like_by_tags call in instapy.py at line 1756. Reproduce the failure on the first post and inspect post_page[0] when the media key is missing. Done means like_by_tags can process the post without raising this KeyError.

Escrito por el modelo de indexación a partir del texto del issue.

Evaluación

Stack tecnológico
python
Área
backend
Tipo de issue
Error
Dificultad
3/5
Tiempo estimado
1-2 días
Estado de actividad
Estancado
Claridad
Necesita aclaración
Aptitud para principiantes
35/100

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.