This Web Scraper scrapes a job posting site for jobs based on the parameters
Me and a lot of my friends are in the process of applying got internships and jobs, having to click on each posting, and scroll for information about each item is really time-consuming on top of applying to jobs. This program allows you to scrape multiple pages at once and put the main information in categories, examples can be found at the end of this README.
These are the libraries you'll need
pip install pandas
pip install requests
pip install beautifulsoup4
job_result is a list with dictionaries inside
def to_excel(job_result):
df = pd.DataFrame(job_result)
df.to_excel("result.xlsx", index=False)
print(df)
result_sin = {
"Job Title": title,
"Company Name": company_names,
"Job Location": company_locations,
"Estimated Salary": estimate_salaries,
"Attribute Snippet": attribute_snippets,
"Description Snippet": description_snippets,
"Date Posted": job_dates,
"Indeed Link": link
}
Putting things into categories is needed so Pandas can covert it into sheets clearly