https://augustpinch.com/qnd7d2fhd?key=ed5dbed8ecdd9af92e2b54e652945382
8
Thursday, May 29, 2025
FREELANCE JOB FINDER TOOL
import requests
from bs4 import BeautifulSoup
def fetch_remote_jobs(keyword="Python"):
url = "https://remoteok.com/remote-dev+{}-jobs".format(keyword.lower())
headers = {"User-Agent": "Mozilla/5.0"}
try:
response = requests.get(url, headers=headers)
response.raise_for_status()
soup = BeautifulSoup(response.text, "html.parser")
job_posts = soup.find_all("tr", class_="job")
print(f"\nš Found {len(job_posts)} jobs for keyword: {keyword}\n")
for job in job_posts[:10]: # show top 10 jobs
title = job.find("h2", itemprop="title")
company = job.find("h3", itemprop="name")
link_tag = job.find("a", class_="preventLink")
link = f"https://remoteok.com{link_tag['href']}" if link_tag else "#"
if title and company:
print(f"š¢ {company.text.strip()} - š¼ {title.text.strip()}")
print(f"š Apply: {link}\n")
except requests.exceptions.RequestException as e:
print("⚠️ Error fetching jobs:", e)
if __name__ == "__main__":
keyword = input("Enter a skill to search jobs for (e.g., Python, design): ")
fetch_remote_jobs(keyword)
Subscribe to:
Post Comments (Atom)
SMART AFFILIATE LINK GENERATOR
Smart Affiliate Link Generator š° Smart Affiliate Link Generator Enter your blog/content: Enter keywords and affili...
-
Smart Affiliate Link Generator š° Smart Affiliate Link Generator Enter your blog/content: Enter keywords and affili...
-
*Online Stock Photography: Sell Your Snaps* Are you a budding photographer with a penchant for snapping stunning images? Look no further! O...
-
AI Story Writing Tool AI Story Writing Tool Moral Educational Historical ...
No comments:
Post a Comment