You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When a person works at more than one company, or works a job and is also going to school, the code will scrape the second company or school instead of the location.
Here's a fix:
var temp = profileSection?.querySelector(".pv-text-details__left-panel.mt2")
var tbs = temp.querySelectorAll(".text-body-small")
const locationElement = ((tbs) ? tbs[0] : null)
var loc = locationElement?.textContent || null
The text was updated successfully, but these errors were encountered:
Hi thank you for the solution. I am already working on making it correct. Just busy with school work so it is taking some time. I will also try your solution. If you want, you can try a pull request or create a new branch and create a pull request from it. I would be very grateful.
When a person works at more than one company, or works a job and is also going to school, the code will scrape the second company or school instead of the location.
Here's a fix:
var temp = profileSection?.querySelector(".pv-text-details__left-panel.mt2")
var tbs = temp.querySelectorAll(".text-body-small")
const locationElement = ((tbs) ? tbs[0] : null)
var loc = locationElement?.textContent || null
The text was updated successfully, but these errors were encountered: