althonos / althonos/InstaLooter

bug in gathering comments

Đang mở
#180 6 bình luận 0 reaction 0 người được giao Xem trên GitHub
enhancement
Ngôn ngữ chính
Python
Star
2.1k
Fork
257
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

Mô tả

dear althonos
i have a problem during capturing all user comments of a post !
the code only capture almost 40 comments and not all.
it seems that instalooter does not load comments completely
how should i solve this problem?
i use code below

from instalooter.looters import ProfileLooter
looter = ProfileLooter("franz_ferdinand")

users = set()
for media in looter.medias():
info = looter.get_post_info(media['shortcode'])
for comment in post_info['edge_media_to_comment']['edges']:
user = comment['node']['owner']['username']
users.add(user)

sinerely yours

Hướng dẫn đóng góp

Chưa lập chỉ mục được hướng dẫn đóng góp cho kho mã nguồn này

Đánh giá

Issue này chưa được đánh giá.

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.