Skip to content

feat(linkedin): add company command#2088

Merged
jackwener merged 2 commits into
mainfrom
feat/linkedin-more-commands
Jul 11, 2026
Merged

feat(linkedin): add company command#2088
jackwener merged 2 commits into
mainfrom
feat/linkedin-more-commands

Conversation

@jackwener

Copy link
Copy Markdown
Owner

What

Adds opencli linkedin company <name> — reads a LinkedIn company's About page.

opencli linkedin company nvidia
opencli linkedin company https://www.linkedin.com/company/databricks/
Column Example
name / industry / size / headquarters / founded / website / specialties / followers / about / url NVIDIA · Computer Hardware Manufacturing · 10,001+ · Santa Clara, CA · 1993 · … · 42,040,089 followers

How

  • Accepts a bare universal name (nvidia), a /company/<name> path, or a full URL; navigates to /company/<name>/about/ and scrapes the dt/dd fact list + follower count — same DOM-extraction style as the existing profile-read.
  • Typed errors: AuthRequiredError via assertLinkedInAuthenticated; CommandExecutionError on malformed payload or missing company name (layout drift / not found).

Verification

Live-verified end-to-end: NVIDIA (42M followers, founded 1993, HQ, website, specialties, about) and Databricks (via full URL, gracefully handles missing founded). 4 tests; typed-error-lint / silent-column-drop new=0.

Part of the LinkedIn enrichment task (companion to #2083 connections). Next candidates: received-invitations and notifications (LinkedIn moved these to GraphQL DASH / dynamic DOM — need dedicated care).

jackwener added 2 commits July 5, 2026 01:35
Adds `opencli linkedin company <name>` — reads a LinkedIn company's About
page: industry, size, headquarters, founded, website, specialties, follower
count, and about text.

- Accepts a bare universal name (`nvidia`), a `/company/<name>` path, or a
  full company URL; navigates to the About page and scrapes the dt/dd fact
  list + follower count (same DOM-extraction style as profile-read).
- Typed errors: AuthRequiredError via assertLinkedInAuthenticated,
  CommandExecutionError on malformed payload / missing company name.

Live-verified end-to-end (NVIDIA: 42M followers, Computer Hardware
Manufacturing, founded 1993; Databricks via full URL). 4 tests; audits new=0.
@jackwener jackwener merged commit 63ae0d8 into main Jul 11, 2026
11 checks passed
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

Successfully merging this pull request may close these issues.

1 participant