diff --git a/controllers/linkedin.js b/controllers/linkedin.js index e56cbd7..06df645 100644 --- a/controllers/linkedin.js +++ b/controllers/linkedin.js @@ -156,17 +156,18 @@ const scrapeLinkedInProfile = async (profileUrl) => { ); return { - name: getText("h1"), - 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"), + profileData, + // name: getText("h1"), + // headline: getText(""), + // location: getText( + // "" + // ), + // about: getText(""), + // experiences: getAllText( + // "" + // ), + // education: getAllText(""), + // skills: getAllText(""), }; });