Home > Backend Development > Python Tutorial > Automated Job Search: LinkedIn Jobs to Notion Board

Automated Job Search: LinkedIn Jobs to Notion Board

Linda Hamilton
Release: 2025-01-23 00:13:10
Original
886 people have browsed it

Automated Job Search: LinkedIn Jobs to Notion Board

This project is a job grabbing system based on Python, which can import job information on LinkedIn into a structured Notion database. Project address: jobs-scrape-to-notion

Installation steps

  1. Clone repository:
git clone https://github.com/namanvashistha/jobs-scrape-to-notion
cd jobs-scrape-to-notion
Copy after login
  1. Install dependencies:
pip install -r requirements.txt
Copy after login
  1. Configure Notion:

    • Create a Notion integration at notion.so/my-integrations.
    • Create a new Notion database.
    • Share the database with the integration.
    • Copy the database ID from the database URL.
  2. Set environment variables:

cp .env.example .env
Copy after login

Update your credentials in the .env file:

<code>NOTION_API_KEY=你的集成令牌
NOTION_DATABASE_ID=你的数据库ID</code>
Copy after login

Main functions

Job capture

def fetch_jobs(search_terms, location, results_wanted=20):
    # 基于多个搜索词抓取 LinkedIn 职位信息
    # 返回包含职位详情的 pandas DataFrame
Copy after login

Notion integration

  • Create structured database entries.
  • Handle rich text, URLs, dates and company logos.
  • Prevent duplicate entries.
  • Manage API rate limits.

Data processing

  • Clean input data.
  • Format salary range in Indian Rupees.
  • Process company metadata.
  • Manage logo file attachments.

Run the scraper

python main.py
Copy after login

Default configuration:

  • Search term: ["Software Engineer", "Backend", "SDE"]
  • Location: India
  • Number of results per word: 20
  • Platform: LinkedIn

Customized

Modify the scraper.py function in the main() file:

search_terms = ["你的", "搜索", "词"]
location = "你的地点"
results_wanted = 30  # 每个词的结果数
Copy after login

Error handling

The system contains:

  • Full logging.
  • Rate limit management.
  • Duplicate prevention.
  • Data validation.

Visit the project repository for source code and detailed documentation.

The above is the detailed content of Automated Job Search: LinkedIn Jobs to Notion Board. For more information, please follow other related articles on the PHP Chinese website!

Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Latest Articles by Author
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template