From fb5e4ca1d197d225fbc6d447b67063a771041a23 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C3=8Dtalo=20Gustavo?= <42496107+ItaloGustavoS@users.noreply.github.com> Date: Wed, 11 Sep 2024 11:55:21 -0300 Subject: [PATCH] Added the line for scrapping the Profile URL --- recruitment/src/recruitment/tools/client.py | 1 + 1 file changed, 1 insertion(+) diff --git a/recruitment/src/recruitment/tools/client.py b/recruitment/src/recruitment/tools/client.py index 0fad31d1..51b9d1ca 100644 --- a/recruitment/src/recruitment/tools/client.py +++ b/recruitment/src/recruitment/tools/client.py @@ -31,6 +31,7 @@ def find_people(self, skills): result["name"] = person.find_element(By.CSS_SELECTOR, "span.entity-result__title-line").text result["position"] = person.find_element(By.CSS_SELECTOR, "div.entity-result__primary-subtitle").text result["location"] = person.find_element(By.CSS_SELECTOR, "div.entity-result__secondary-subtitle").text + result["profile_link"] = person.find_element(By.CSS_SELECTOR, "a.app-aware-link").get_attribute("href") except Exception as e: print(e) continue