Skip to content

Commit

Permalink
Fix company_name parser (#35)
Browse files Browse the repository at this point in the history
  • Loading branch information
GrimsGreen authored Aug 4, 2024
1 parent 8ffa448 commit 86c5849
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion staffspy/linkedin/linkedin.py
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit 86c5849

Please sign in to comment.