Bunsly / JobSpy

Jobs scraper library for LinkedIn, Indeed, Glassdoor & ZipRecruiter
https://usejobspy.com
MIT License
555 stars 109 forks source link

Running the code without Jupyter #164

Open Saasbert opened 4 days ago

Saasbert commented 4 days ago

I'm trying to run the sample code without Jupyter (i can do it with Jupyter) but i'm running into errors.

Is there any instructions / insights on how to run the code by iteself ? (i'm new to python, so very possible its just something i dont understand about the environment)

errors i'm getting :

Traceback (most recent call last): File "\examples\JobSpy_AllSites.py", line 4, in jobs: pd.DataFrame = scrape_jobs( File "\jobspy__init.py", line 118, in scrape_jobs site_value, scraped_data = future.result() File "_base.py", line 451, in result return self.get_result() File "_base.py", line 403, in get_result raise self._exception File "thread.py", line 58, in run result = self.fn(*self.args, **self.kwargs) File "\jobspy__init__.py", line 109, in worker site_val, scraped_info = scrape_site(site) File "\jobspy\init.py", line 99, in scrape_site scraper = scraper_class(proxy=proxy) TypeError: IndeedScraper.init__() got an unexpected keyword argument 'proxy'