Home >Backend Development >Python Tutorial >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
<code class="language-bash">git clone https://github.com/namanvashistha/jobs-scrape-to-notion cd jobs-scrape-to-notion</code>
<code class="language-bash">pip install -r requirements.txt</code>
Configure Notion:
Set environment variables:
<code class="language-bash">cp .env.example .env</code>
Update your credentials in the .env
file:
<code>NOTION_API_KEY=你的集成令牌 NOTION_DATABASE_ID=你的数据库ID</code>
<code class="language-python">def fetch_jobs(search_terms, location, results_wanted=20): # 基于多个搜索词抓取 LinkedIn 职位信息 # 返回包含职位详情的 pandas DataFrame</code>
<code class="language-bash">python main.py</code>
Default configuration:
["Software Engineer", "Backend", "SDE"]
Modify the scraper.py
function in the main()
file:
<code class="language-python">search_terms = ["你的", "搜索", "词"] location = "你的地点" results_wanted = 30 # 每个词的结果数</code>
The system contains:
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!