Skip to content
This repository has been archived by the owner on Apr 17, 2024. It is now read-only.

Unable to scrape locally hosted profileExample.html file #65

Open
petabreads opened this issue Dec 14, 2015 · 4 comments
Open

Unable to scrape locally hosted profileExample.html file #65

petabreads opened this issue Dec 14, 2015 · 4 comments

Comments

@petabreads
Copy link

Hello All,

I had a project working a couple months ago, returned to it this weekend and ran into an issue. Hopefully someone can point me in the right direction, i'm at a loss. I did a fresh install of linkedin-scraper with the latest version.

In the past, i was able to save the source code from a profile, host it locally, then run "linkedin-scraper http:localhost:9999/jeffweiner08_local.html". This worked perfectly.

Now when I do this, it comes up with empty arrays (see below). When i point it back to the actual public profile (http://www.linkedin.com/in/jeffweiner08), everything works as expected.

Any ideas what i'm doing wrong? I'm currently on mac OSX, in the past i was running RHEL 7.

Example Result when using a local file:

########:~ user$ linkedin-scraper http://localhost:9999/jeffweiner08_local.html
{
  "name": "Jeff Weiner",
  "first_name": "Jeff",
  "last_name": "Weiner",
  "title": "CEO at LinkedIn",
  "location": "San Francisco Bay Area",
  "number_of_connections": "3",
  "country": "San Francisco Bay Area",
  "industry": null,
  "summary": null,
  "picture": "https://media.licdn.com/mpr/mpr/shrinknp_400_400/p/6/005/07c/31e/153cdd3.jpg",
  "projects": [

  ],
  "linkedin_url": "http://localhost:9999/Jeff_Weiner_local.html",
  "education": [

  ],
  "groups": [

  ],
  "websites": [

  ],
  "languages": [

  ],
  "skills": [

  ],
  "certifications": [

  ],
  "organizations": [

  ],
  "past_companies": [

  ],
  "current_companies": [

  ],
  "recommended_visitors": [

  ]
}
@yatish27
Copy link
Owner

Did you try the latest version ?

On Sun, Dec 13, 2015 at 9:58 PM, petabreads [email protected]
wrote:

Example Result with a local file:

########:~ user$ linkedin-scraper
http://localhost:9999/Jeff_Weiner_local.html
{
"name": "Jeff Weiner",
"first_name": "Jeff",
"last_name": "Weiner",
"title": "CEO at LinkedIn",
"location": "San Francisco Bay Area",
"number_of_connections": "3",
"country": "San Francisco Bay Area",
"industry": null,
"summary": null,
"picture": "
https://media.licdn.com/mpr/mpr/shrinknp_400_400/p/6/005/07c/31e/153cdd3.jpg
",
"projects": [

],
"linkedin_url": "http://localhost:9999/Jeff_Weiner_local.html",
"education": [

],
"groups": [

],
"websites": [

],
"languages": [

],
"skills": [

],
"certifications": [

],
"organizations": [

],
"past_companies": [

],
"current_companies": [

],
"recommended_visitors": [

]
}


Reply to this email directly or view it on GitHub
#65 (comment)
.

Yatish Mehta

@petabreads
Copy link
Author

yes, i'm trying with 1.0.1

@yatish27
Copy link
Owner

yatish27 commented Jan 9, 2016

Can you check if there is diff between the source code and the local save file ?

@100chocolate
Copy link

100chocolate commented Jul 19, 2016

I am having the same problem with version 2.1.1 using ruby 2.2 x64 on windows 10. Any suggestions on how to resolve this issue.. I have diffed the local version and the online public profile and there is no apparent difference.

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

No branches or pull requests

3 participants