■ ■ ■ ■ ■ ■
snscrape/modules/instagram.py
| skipped 72 lines |
73 | 73 | | thumbnailUrl = node['node']['thumbnail_src'], |
74 | 74 | | displayUrl = node['node']['display_url'], |
75 | 75 | | username = username, |
76 | | - | likes = node['node']['edge_liked_by']['count'], |
| 76 | + | likes = node['node']['edge_media_preview_like']['count'], |
77 | 77 | | comments = node['node']['edge_media_to_comment']['count'], |
78 | 78 | | commentsDisabled = node['node']['comments_disabled'], |
79 | 79 | | isVideo = node['node']['is_video'], |
| skipped 103 lines |