InstaPy / InstaPy/instapy-quickstart

KeyError: 'media'

オープン
#100 コメント 3 件 リアクション 0 件 担当者 0 名 GitHub で見る
主要言語
Python
スター
777
フォーク
763
PR マージ指標
30日以内にマージされた PR はありません

説明

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
"

コントリビューションガイド

このリポジトリのコントリビューションガイドは索引されていません

調査の方向性

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.

索引モデルが issue の本文から書いたものです。

評価

技術スタック
python
領域
backend
issue の種類
バグ
難易度
3/5
見積もり時間
1〜2日
活発さ
停滞
明瞭さ
説明が足りない
初心者へのやさしさ
35/100

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。