mirror of https://github.com/Bunsly/JobSpy
chore: readme updated
parent
571710265e
commit
c808d6d7ed
|
@ -67,7 +67,7 @@ Optional
|
||||||
├── location (str)
|
├── location (str)
|
||||||
├── distance (int): in miles, default 50
|
├── distance (int): in miles, default 50
|
||||||
├── job_type (str): fulltime, parttime, internship, contract
|
├── job_type (str): fulltime, parttime, internship, contract
|
||||||
├── proxy (str): in format 'http://user:pass@host:port'
|
├── proxies (list[str]): in format ['http://user:pass@host:port']
|
||||||
├── is_remote (bool)
|
├── is_remote (bool)
|
||||||
├── results_wanted (int): number of job results to retrieve for each site specified in 'site_name'
|
├── results_wanted (int): number of job results to retrieve for each site specified in 'site_name'
|
||||||
├── easy_apply (bool): filters for jobs that are hosted on the job board site (LinkedIn & Indeed do not allow pairing this with hours_old)
|
├── easy_apply (bool): filters for jobs that are hosted on the job board site (LinkedIn & Indeed do not allow pairing this with hours_old)
|
||||||
|
|
|
@ -0,0 +1,27 @@
|
||||||
|
import csv
|
||||||
|
from src.jobspy import scrape_jobs
|
||||||
|
|
||||||
|
proxies = [
|
||||||
|
"http://xvwnpgzc:8516e8nu5s24@38.154.227.167:5868",
|
||||||
|
"http://xvwnpgzc:8516e8nu5s24@185.199.229.156:7492",
|
||||||
|
"http://xvwnpgzc:8516e8nu5s24@185.199.228.220:7300",
|
||||||
|
"http://xvwnpgzc:8516e8nu5s24@185.199.231.45:8382",
|
||||||
|
"http://xvwnpgzc:8516e8nu5s24@188.74.210.207:6286",
|
||||||
|
"http://xvwnpgzc:8516e8nu5s24@188.74.183.10:8279",
|
||||||
|
"http://xvwnpgzc:8516e8nu5s24@188.74.210.21:6100",
|
||||||
|
"http://xvwnpgzc:8516e8nu5s24@45.155.68.129:8133",
|
||||||
|
"http://xvwnpgzc:8516e8nu5s24@154.95.36.199:6893",
|
||||||
|
"http://xvwnpgzc:8516e8nu5s24@45.94.47.66:8110",
|
||||||
|
]
|
||||||
|
|
||||||
|
|
||||||
|
jobs = scrape_jobs(
|
||||||
|
site_name=["indeed", "linkedin", "zip_recruiter", "glassdoor"],
|
||||||
|
search_term="software engineer",
|
||||||
|
results_wanted=500,
|
||||||
|
hours_old=72, # (only Linkedin/Indeed is hour specific, others round up to days old)
|
||||||
|
country_indeed="usa",
|
||||||
|
# linkedin_fetch_description=True,
|
||||||
|
proxy=proxies,
|
||||||
|
)
|
||||||
|
jobs.to_csv("jobs.csv", quoting=csv.QUOTE_NONNUMERIC, escapechar="\\", index=False)
|
Loading…
Reference in New Issue