在Instagram使用JSON引入更改后,是否有可能在帖子中收到超过35条评论? 作为示例代码:
import json
import urllib.request
def n_f_l(link):
link_j = link + '?__a=1'
json_string = urllib.request.urlopen(link_j).read().decode('UTF-8')
parsed_string = json.loads(json_string)
comments = parsed_string['graphql']['shortcode_media']
['edge_media_to_comment']['edges']
print(comments)
def main():
n_f_l(link='https://www.instagram.com/p/BhfVd1env3K/')
if __name__ == '__main__':
main()
这样我只有35条评论,可以在这里使用结束光标吗?如果是的话,怎么做?