diff --git a/controllers/linkedin.js b/controllers/linkedin.js index 714de60..e56cbd7 100644 --- a/controllers/linkedin.js +++ b/controllers/linkedin.js @@ -157,12 +157,14 @@ const scrapeLinkedInProfile = async (profileUrl) => { return { name: getText("h1"), - headline: getText(".pv-text-details__left-panel .text-body-medium"), - location: getText(".pv-text-details__left-panel .text-body-small"), - about: - getText(".pv-about-section") || - getText(".pv-shared-text-with-see-more"), - experiences: getAllText("section#experience-section li"), + headline: getText("div .text-body-medium .break-words"), + location: getText( + "span .text-body-small .inline .t-black--light .break-words" + ), + about: getText("div .display-flex .ph5 .pv3"), + experiences: getAllText( + "div .KbuWagYZEALUPOYGtkFczhgTiHHNRLZKhdLlK ul li" + ), education: getAllText("section#education-section li"), skills: getAllText(".pv-skill-category-entity__name-text"), }; diff --git a/public/error/step1_login.png b/public/error/step1_login.png deleted file mode 100644 index e85f650..0000000 Binary files a/public/error/step1_login.png and /dev/null differ diff --git a/public/error/step2_logged_in.png b/public/error/step2_logged_in.png deleted file mode 100644 index 95c906b..0000000 Binary files a/public/error/step2_logged_in.png and /dev/null differ diff --git a/public/error/step3_profile_loaded.png b/public/error/step3_profile_loaded.png deleted file mode 100644 index a076167..0000000 Binary files a/public/error/step3_profile_loaded.png and /dev/null differ diff --git a/public/error/step4_scrolled.png b/public/error/step4_scrolled.png deleted file mode 100644 index 4d8eec0..0000000 Binary files a/public/error/step4_scrolled.png and /dev/null differ diff --git a/public/error/step5_data_extracted.png b/public/error/step5_data_extracted.png deleted file mode 100644 index d84a2af..0000000 Binary files a/public/error/step5_data_extracted.png and /dev/null differ