mirror of
https://github.com/bellingcat/snscrape.git
synced 2026-06-11 11:58:28 +03:00
Add user label support on entity retrieval
This commit is contained in:
@@ -584,6 +584,8 @@ class TwitterUserScraper(TwitterSearchScraper):
|
||||
linkTcourl = user['legacy'].get('url'),
|
||||
profileImageUrl = user['legacy']['profile_image_url_https'],
|
||||
profileBannerUrl = user['legacy'].get('profile_banner_url'),
|
||||
label = user['affiliates_highlighted_label']['label']['description'] if user['affiliates_highlighted_label'] else None,
|
||||
labelUrl = user['affiliates_highlighted_label']['label']['url']['url'] if user['affiliates_highlighted_label'] else None,
|
||||
)
|
||||
|
||||
def get_items(self):
|
||||
|
||||
Reference in New Issue
Block a user