-
Notifications
You must be signed in to change notification settings - Fork 221
999 => for -- https://www.linkedin.com/in/some-profile #70
Comments
Fixed on 1.0.5 latest version |
I have the same issue with version 1.0.5 . Any thoughts? UPD: Looks like in my case that's because i run it on Digital Ocean instance. |
Can you check if the same issue is on local machine ? |
On local machine all is ok. |
Which proxy are you using ? Try paid proxies from https://instantproxies.com/ |
Thanks, will try it now . |
Tried to use proxy from https://instantproxies.com/ and had that same result. 999((( Even if i use it on local machine with this proxy i get this 999 response. |
Give the link of the profile On Mon, Apr 25, 2016 at 7:10 AM -0700, "Torq07" [email protected] wrote: Tried to use proxy from https://instantproxies.com/ and had that same result. 999((( Even if i use it on local machine with this proxy i get this 999 response. — |
It's not working not for some specific profile. It's not working from DO/AWS/RussianVPS with proxy. And if i run it from local machin with proxy it is not working too. Have you tried to run it on AWS or DigitalOcean instance? |
I have the same problem with Digital Ocean. Localhost works but server side nope. Could maybe somebody share a configuration that works? What VPS are you using? Do you use a proxy/vpn in between? What proxy/vpn vendor are recommended to be used? Thanks in advance |
@yatish27 would you be able to share your configuration? |
I'm receiving this same error on any profile I give. require 'linkedin_scraper'
# => true
Linkedin::Profile.get_profile('https://www.linkedin.com/in/danielpclark')
#999 => for -- https://www.linkedin.com/in/danielpclark
# => nil |
I believe this is an issue with the User Agent being blocked by Linkedin. The user agents in this repo are out of date. I got the same error myself manually scraping with mechanize until I changed the user agent. May I suggest either requiring people to enter their own agent or grabbing a random one from here http://ua.theafh.net/ . It's a user agent search & listing page. The closer to the top of the page the more recent the user agent. |
The latest version uses randomuser agent, it still doesn't solve the company page browsing issue |
Fixed in master. |
@yatish27 It's awesome. But somehow this gem is not working on heroku. Any solution? |
@viha4582 I think they block those IP addresses. |
Can someone help me update an installed gem after I have made changes to a clone locally? Im testing wether or not the user agents are bad, so I added mine to a file and removed the other 900 or so. |
I solved the blocking problem by using proxycrawl API, i make get requests to that API which calls linkedin and gives the html data back. |
Hey, this issue is still not resolved: impossible to make even the first request, I fall directly on the 999 error whereas the
curl -A "Mozilla/5.0 (Windows; U; Windows NT 5.1; de; rv:1.9.2.3) Gecko/20100401 Firefox/3.6.3" -I --url
works perfectly well.
The text was updated successfully, but these errors were encountered: