Can you scrape LinkedIn company pages?
We asked 12 open source scraping tools to fetch linkedin.com/company/nasa, and counted a result as usable only if the page held public NASA organization description and industry/topic. We tested public pages only, and this page is not legal advice.
Tested · How we test
Comparison
Code to start with
URL = "https://www.linkedin.com/company/nasa/"
from curl_cffi import Session
with Session(impersonate="chrome150") as s:
html = s.get(URL).textWhat came back to curl_cffi
HTTP 200 · 357,031 bytes of HTML · 12,652 characters of visible text
Our check found these words on the page: nasa, national aeronautics, space, research, aviation. It found no bot-check phrases, such as “verify you are human”.
All 12 results
Click a column to sort. Time and memory show only for tools that got the page.
Got the pageContent missingRefused or blockedOur check failed
Notes
- The site answered with status 999, which LinkedIn sends when it decides the request came from a bot.
How we tested
Each tool fetched the page once, in a fresh session, with no proxy. Tools without a browser send one HTTP request and read the HTML that comes back. Browser tools load the page and run its JavaScript. Each tool's script below shows the exact settings we used. We have not yet tested residential proxies, paid scraping APIs or many pages in a row. Our full method
Scripts and results files
Each tool's results file holds every attempt from this run, with the HTTP status, the time, the memory and what our check found. The pages the tools fetched are not published.