Menu

1 / 2

Automate HackerNews Job Filtering with Python Script

DEV Community·IntelliTools·6 months ago
#JkW3wS3N
#python#automation#tutorial#productivity#jobs
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.…

Continue reading — create a free account

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