Skip to content

Instantly share code, notes, and snippets.

View nicosh's full-sized avatar
:octocat:
nothing was returned from render

Nicolò nicosh

:octocat:
nothing was returned from render
View GitHub Profile
@nicosh
nicosh / linkedinCompany.js
Last active May 6, 2023 13:31
Simple way to scrape linkedin company employees with puppeteer
// A simple and raw example on how to scrape company employees data.
// this script will save the ouput in a .json file.
// the script needs your cookies to login.
// For Educational Purposes Only :)
const puppeteer = require('puppeteer');
const fs = require('fs');
const cookies = require('./cookies.json');
const API_ENDPOINT = "https://www.linkedin.com/voyager/api/search/hits?"
atom sync