Menu

Post image 1
Post image 2
1 / 2
0

Automate HackerNews Job Filtering with Python Script

DEV Community·IntelliTools·21 days ago
#JkW3wS3N
Reading 0:00
15s threshold

import requests from bs4 import BeautifulSoup def fetch_hn_jobs (): url = ' https://news.ycombinator.com/jobs ' response = requests . get ( url ) soup = BeautifulSoup ( response . text , ' html.parser ' ) jobs = [] for item in soup . select ( ' .athing ' ): title = item . select_one ( ' .titleline ' ) if title : link = title . find ( ' a ' )[ ' href ' ] if title . find ( ' a ' ) else '' jobs . append ({ ' title ' : title . text . strip (), ' link ' : link }) return jobs Enter fullscreen mode Exit fullscreen mode The HackerNews Job Auditor is a Python script that automates the process of filtering and scoring high-quality tech jobs from Hacker News. This tool saves developers and recruiters hours of manual work by automatically screening jobs for technical depth and relevance. By leveraging Python’s requests and BeautifulSoup libraries, the script fetches job listings and processes them into a structured format.…

Continue reading — create a free account

Join HashtagPLUS to read full articles, follow hashtags, vote, and join the conversation.

Read More