InstaPy / InstaPy/instapy-quickstart

KeyError: 'media'

Ouverte
#100 3 commentaires 0 réactions 0 personnes assignées Voir sur GitHub
Langage dominant
Python
Étoiles
777
Forks
763
Métriques de merge des PR
Aucune PR mergée en 30 j

Description

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
"

Guide de contribution

Aucun guide de contribution indexé pour ce dépôt

Piste de recherche

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.

Rédigé par le modèle d'indexation à partir du texte de l'issue.

Évaluation

Stack technique
python
Domaine
backend
Type d'issue
Bug
Difficulté
3/5
Temps estimé
1-2 jours
Activité
À l'abandon
Clarté
À clarifier
Accessibilité débutants
35/100

Recevez les nouvelles issues par e-mail

Un résumé court des issues GitHub adaptées aux débutants.