gdivyagupta/linkedin_scraper ? reverse-engineered prompt
Reverse engineered prompt
Build me a Python library that can scrape LinkedIn with Playwright and async code.
I want it to let me log in once, save a session file, and then reuse that session to scrape different LinkedIn pages. It should be able to pull data from person profiles, company pages, company posts, and job listings, and return clean structured objects that are easy to use in code. I also want progress callbacks so I can see what’s happening while it runs.
Please make the package feel polished, with simple imports, good error handling, and examples I can run from the samples folder. Add tests too, and make sure the README examples actually work. If you need to check the latest Playwright or LinkedIn related docs online while building it, go ahead.