Skip to main content

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.0
  • session-snapshot is 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, LoginMethod
  • UserIdentity
  • 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)

Source distribution for linkedin-search-core 0.1.0
File Size Uploaded
linkedin_search_core-0.1.0.tar.gz 17.0 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for linkedin-search-core 0.1.0
File Interpreter ABI Platform
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

Release history Release notifications | RSS feed

This release

0.1.0 This release

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page