InstaPy / InstaPy/instapy-quickstart

KeyError: 'media'

Aperta
#100 3 commenti 0 reazioni 0 assegnatari Vedi su GitHub
Lingua principale
Python
Stelle
777
Fork
763
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Descrizione

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
"

Guida per i contributori

Nessuna guida per i contributori indicizzata per questo repository

Direzione di ricerca

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.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Valutazione

Stack tecnologico
python
Ambito
backend
Tipo di issue
Bug
Difficoltà
3/5
Tempo stimato
1-2 giorni
Stato di attività
Ferma
Chiarezza
Da chiarire
Idoneità per principianti
35/100

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.