linkedin-search-core
Description
Shared LinkedIn browser session for search libraries. This package opens Chromium through Playwright, restores a session, and runs interactive login. It does not search jobs or posts.
Requires Python 3.11+.
Installation
pip install linkedin-search-core
Local editable install from this monorepo:
pip install -e packages/linkedin-search-core
Dependencies
playwright>=1.49.0session-snapshotis optional. Import it in the same environment when you restore or export a full Chrome session snapshot. Without it, cookie-only login still works.
Usage
from linkedin_search_core import LinkedInSession
with LinkedInSession(cookies=cookies, headless=True) as session:
print(session.is_logged_in())
API
LinkedInSession— context manager for the browser session (login_and_get_cookies,get_cookies,export_session_snapshot,is_logged_in)LinkedInClientConfig,BrowserConfig,LoginMethodUserIdentity- Errors:
LinkedInClientError,BrowserLifecycleError,CookieFormatError,LoginRequiredError,LoginTimeoutError,LoginCheckpointError,LoginCancelledError,FeedLoadError,PostParseError
Release files for linkedin-search-core 0.1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| linkedin_search_core-0.1.0.tar.gz | 17.0 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| linkedin_search_core-0.1.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 42.2 kB
Release files / linkedin_search_core-0.1.0.tar.gz
| Download URL | linkedin_search_core-0.1.0.tar.gz |
|---|---|
| Size | 17.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
ed397853b5933b44d7845a50fef5b264b0e41c44e6e8d3d5b983a5cb0d17e40c
|
|
BLAKE2b-256 checksum How to use checksums |
603d3b33c70b3372b1f7c9adbf1ead210f8e0d8301fb192d3b183660429c3294
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.12.1
|
Release files / linkedin_search_core-0.1.0-py3-none-any.whl
| Download URL | linkedin_search_core-0.1.0-py3-none-any.whl |
|---|---|
| Size | 25.2 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
f7004949a249543d4c342e561432c8ad0fd392409b95c23a09908d8dc2986fac
|
|
BLAKE2b-256 checksum How to use checksums |
724351fca55e5f82903f07750cf9a4f7d751a0dfccfe31001af5c7579c107dd7
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.12.1
|