Skip to main content

A package Search jobs from Linkdin

Project description

Here's the complete README.md file content for your package:

# linkedin-search-job

A Python package to scrape job listings from LinkedIn based on various filters.

## Installation

Install the package using pip:

```sh
pip install linkedin-job-search

Usage

From the Command Line

You can run the scraper directly from the command line:

linkedin_search_job

As a Module in a Python Script

You can also use the package in your own Python script:

from linkedin_search_job.scraper import scrape_jobs

# Define your parameters
job_keyword = "AngularJS"
location = 'UnitedStates'
f_WT = "1,2"  # Work type: 1 for Onsite, 2 for Hybrid, 3 for Remote
f_JT = "F,P"  # Job type: F for Full-time, P for Part-time, C for Contract, T for Temporary, V for Volunteer
f_E = "5"     # Experience level: 1 for Internship, 2 for Entry level, 3 for Associate, 4 for Director, 5 for Executive
f_SB2 = '4'   # Salary: 1 for $40,000, 2 for $60,000, 3 for $80,000, 4 for $100,000, 5 for $120,000 (only one value allowed)
start = "0"   # Pagination: 0 for the first 10 results, 9 for the next 10, 18 for the next 10, and so on

# Call the function
jobs = scrape_jobs(job_keyword, location, f_WT, f_JT, f_E, f_SB2, start)

# Process the results
for job in jobs:
    print(f"Job Title: {job['title']}")
    print(f"Company: {job['company']}")
    print(f"Location: {job['location']}")
    print(f"Job Link: {job['job_link']}")
    print('---')

Parameters

  • job_keyword: The job keyword to search for (e.g., "Angular developer").
  • location: The location to search in (e.g., "UnitedStates").
  • f_WT: Work type. Use comma-separated values for multiple filters.
    • 1: Onsite
    • 2: Hybrid
    • 3: Remote
  • f_JT: Job type. Use comma-separated values for multiple filters.
    • F: Full-time
    • P: Part-time
    • C: Contract
    • T: Temporary
    • V: Volunteer
  • f_E: Experience level. Use comma-separated values for multiple filters.
    • 1: Internship
    • 2: Entry level
    • 3: Associate
    • 4: Director
    • 5: Executive
  • f_SB2: Salary. Only one value allowed.
    • 1: $40,000
    • 2: $60,000
    • 3: $80,000
    • 4: $100,000
    • 5: $120,000
  • start: Pagination. Start from 0 for the first 10 results, 9 for the next 10, 18 for the next 10, and so on.

Example

To search for "AngularJS" jobs in the United States, with work types as Onsite or Hybrid, job types as Full-time or Part-time, executive level experience, a salary of $100,000, and starting from the first page:

job_keyword = "AngularJS"
location = 'UnitedStates'
f_WT = "1,2"
f_JT = "F,P"
f_E = "5"
f_SB2 = '4'
start = "0"

# Call the function
jobs = scrape_jobs(job_keyword, location, f_WT, f_JT, f_E, f_SB2, start)

# Process the results
for job in jobs:
    print(f"Job Title: {job['title']}")
    print(f"Company: {job['company']}")
    print(f"Location: {job['location']}")
    print(f"Job Link: {job['job_link']}")
    print('---')

If you want to filter by multiple values, pass the argument values separated by commas. For pagination, pass 0 to get the first 10 records, then pass 9 to get the next 10 records, and so on.

License

This project is licensed under the MIT License. See the LICENSE file for details.


Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

linkedin_job_search-0.1.0.tar.gz (4.3 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

linkedin_job_search-0.1.0-py3-none-any.whl (5.2 kB view details)

Uploaded Python 3

File details

Details for the file linkedin_job_search-0.1.0.tar.gz.

File metadata

  • Download URL: linkedin_job_search-0.1.0.tar.gz
  • Upload date:
  • Size: 4.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.12.3

File hashes

Hashes for linkedin_job_search-0.1.0.tar.gz
Algorithm Hash digest
SHA256 b09b5e20c01137c14c026fd3baf089380be0b2463e6fa99dcf645b5ddfd2987d
MD5 8e9306e7695faa7c461d0b8f0464c96e
BLAKE2b-256 3f974c1358cbd0107b5baa4bf0265cae594383ac9c199972ff33169182c308c1

See more details on using hashes here.

File details

Details for the file linkedin_job_search-0.1.0-py3-none-any.whl.

File metadata

File hashes

Hashes for linkedin_job_search-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 d687c1292fabb5047c2c72caebea16caa2d83679db62ff42abaf9013ce6ef32b
MD5 8c8362c4a8d96316d018bd5e9a859415
BLAKE2b-256 11f214a68c0ac1a6cae70a3c332c339ae42f335c5d9215473f76d7787dbd5f52

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page