joeyism/linkedin_scraper — reverse-engineered prompt

Reverse engineered prompt

GitHub

Build me a Python library called linkedin_scraper that can log into LinkedIn in a browser, save the session, and then reuse it to collect public data from LinkedIn pages I give it. I want simple async examples for scraping a person profile, a company page, company posts, and job search results.

For profiles, return name, headline, location, about, experience, education, skills, and accomplishments. For companies, return overview, industry, size, and headquarters. For posts, return text, date, reactions, comments, reposts, images, and links. For jobs, return title, company, location, details, requirements, and application links.

Use Playwright, make the returned data clean and typed, and include progress messages so I can see what is happening. Include a way to create a session by logging in manually, plus an optional login with email and password from environment variables. Add sample scripts, basic tests, and a clear README showing installation, browser setup, and how to run everything.

Want more depth? Deep Reverse