Untitled
unknown
plain_text
a year ago
797 B
3
Indexable
Never
from bs4 import BeautifulSoup import requests def find_jobs(): base_url = "https://de.indeed.com/Jobs?q=python+developer&l=Berlin" response = requests.get(base_url) soup = BeautifulSoup(response.text, 'html.parser') jobs = soup.find_all('div', class_='jobsearch-SerpJobCard') for job in jobs: title = job.find('a', class_='jobtitle').text.strip() company = job.find('span', class_='company').text.strip() location = job.find('span', class_='location').text.strip() summary = job.find('div', class_='summary').text.strip() print(f"Job Title: {title}") print(f"Company: {company}") print(f"Location: {location}") print(f"Summary: {summary}") print("---"*10) if __name__ == "__main__": find_jobs()