diff --git a/shared_collector/scripts/_in_the_wild.py b/shared_collector/scripts/_in_the_wild.py index a7145e5..75172e2 100644 --- a/shared_collector/scripts/_in_the_wild.py +++ b/shared_collector/scripts/_in_the_wild.py @@ -123,8 +123,10 @@ def parse_leak_data(self, page: Page): if len(report_cards) > 1: second_card_link = report_cards[1].query_selector(".chakra-link") - if second_card_link and "github.com" in second_card_link.get_attribute("href"): - social_media_profile = second_card_link.get_attribute("href") + if second_card_link: + second_card_url = second_card_link.get_attribute("href") + if second_card_url and second_card_url.startswith("https://github.com"): + social_media_profile = second_card_url page.wait_for_timeout(200)