diff --git a/staffspy/linkedin/linkedin.py b/staffspy/linkedin/linkedin.py index c5249b3..d282f4f 100644 --- a/staffspy/linkedin/linkedin.py +++ b/staffspy/linkedin/linkedin.py @@ -117,7 +117,7 @@ def get_company_id_and_staff_count(self, company_name: str): company_id = company["trackingInfo"]["objectUrn"].split(":")[-1] try: - company_name = re.search(r'/company/([^/]+)', company['url']).group(1) + company_name = company["universalName"] except: pass