Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Profile about summary changed HTML #173

Open
igorgbianchi opened this issue Feb 7, 2022 · 7 comments
Open

Profile about summary changed HTML #173

igorgbianchi opened this issue Feb 7, 2022 · 7 comments

Comments

@igorgbianchi
Copy link

The problem is on profileScraperTemplate.js where

about: {
    selector: '.pv-about-section',
    fields: {
      text: 'p'
    }
  }

was changed to

about: {
    selector: '#about + .pvs-header__container + .display-flex',
    fields: {
      text: 'span'
    }
}
@fernaoguerra
Copy link

fernaoguerra commented Feb 9, 2022

Did not fixed for me. Did you do something else?

@igorgbianchi
Copy link
Author

Did not fixed for me. Did you do something else?

I changed line 11 of src/profile/cleanProfileData.js to:

try{
    profile.profile.summary = profile.about.text;
  }catch(e){
    profile.about = {text: null};
  }

Perhaps it's not the best solution, but it's working.

@fernaoguerra
Copy link

Still did not work for me... Is it currently working for you? I keep getting the erros:
"UnhandledPromiseRejectionWarning: Error: LinkedIn website changed and scrapedin 1.0.21 can't read basic data. Please report this issue at https://github.com/linkedtales/scrapedin/issues"

@igorgbianchi
Copy link
Author

Still did not work for me... Is it currently working for you? I keep getting the erros: "UnhandledPromiseRejectionWarning: Error: LinkedIn website changed and scrapedin 1.0.21 can't read basic data. Please report this issue at https://github.com/linkedtales/scrapedin/issues"

It's working here, the only changes were what I've commented.

@fernaoguerra
Copy link

Thanks. In order to work I had to install directly from github using: npm i git+https://github.com/linkedtales/scrapedin.git
now I do not get errors, but I am not able to get any data from positions. It always returns empty...

positions: [],
educations: [],
skills: [],
recommendations: { givenCount: '0', receivedCount: '0', given: [], received: [] },
accomplishments: [],
courses: undefined,
languages: undefined,
projects: undefined,

@igorgbianchi
Copy link
Author

Thanks. In order to work I had to install directly from github using: npm i git+https://github.com/linkedtales/scrapedin.git now I do not get errors, but I am not able to get any data from positions. It always returns empty...

positions: [], educations: [], skills: [], recommendations: { givenCount: '0', receivedCount: '0', given: [], received: [] }, accomplishments: [], courses: undefined, languages: undefined, projects: undefined,

Now that you've mentioned, I checked those fields and they are empty too. I will try to fix.

@fernaoguerra
Copy link

Great, Thanks! I tried but no luck... if you fix it, please share with us.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants