import requests from bs4 import BeautifulSoup # Set up the URL and parameters for the request url = "https://www.indeed.com/jobs?q=All job_listings&l=Uae" params = { 'jk': '', 'start': 0, 'vjs': 'true' } # Make the request and get the response content response = requests.get(url, params=params) content = response.text # Parse the HTML with BeautifulSoup soup = BeautifulSoup(content, 'html.parser') # Find the job listings and their details job_listings = soup.find_all('div', class_='jobsearch-SerpJobCard') for listing in job_listings: title = listing.find('a', class_='jobtitle').text company = listing.find('span', class_='company').text location = listing.find('div', class_='recJobLoc')['data-rc-loc'] # Print the job details print(f"Title: {title}") print(f"Company: {company}") print(f"Location: {location}\n")