JobSpy icon indicating copy to clipboard operation
JobSpy copied to clipboard

glassdoor 403 issu

Open osumo01 opened this issue 1 year ago • 7 comments

anyone having a 403 issue even with proxies. [2025-04-22, 04:15:37 UTC] {docker.py:69} INFO - 2025-04-22 04:15:37,080 - ERROR - JobSpy:Glassdoor - Glassdoor response status code 403 [2025-04-22, 04:15:37 UTC] {docker.py:69} INFO - 2025-04-22 04:15:37,080 - ERROR - JobSpy:Glassdoor - Glassdoor: location not parsed

osumo01 avatar Apr 22 '25 04:04 osumo01

Glassdoor is working for me, it's LinkedIn that is hammering me when I collect extra data on the job post.

ArielWS avatar Apr 23 '25 12:04 ArielWS

Facing the same issue with glassdoor 403, the same example in README file: jobs = scrape_jobs( site_name=[ "glassdoor"], search_term="software engineer", google_search_term="software engineer jobs near San Francisco, CA since yesterday", location="San Francisco, CA", results_wanted=20, hours_old=72, country_indeed='USA',

# linkedin_fetch_description=True # gets more info such as description, direct job url (slower)
# proxies=["208.195.175.46:65095", "208.195.175.45:65095", "localhost"],

) Gives this error: 2025-04-30 13:39:12,332 - ERROR - JobSpy:Glassdoor - Glassdoor response status code 403 2025-04-30 13:39:12,332 - ERROR - JobSpy:Glassdoor - Glassdoor: location not parsed

mahtabfarrokh avatar Apr 30 '25 19:04 mahtabfarrokh

Facing the same issue with glassdoor 403, the same example in README file: jobs = scrape_jobs( site_name=[ "glassdoor"], search_term="software engineer", google_search_term="software engineer jobs near San Francisco, CA since yesterday", location="San Francisco, CA", results_wanted=20, hours_old=72, country_indeed='USA',

# linkedin_fetch_description=True # gets more info such as description, direct job url (slower)
# proxies=["208.195.175.46:65095", "208.195.175.45:65095", "localhost"],

) Gives this error: 2025-04-30 13:39:12,332 - ERROR - JobSpy:Glassdoor - Glassdoor response status code 403 2025-04-30 13:39:12,332 - ERROR - JobSpy:Glassdoor - Glassdoor: location not parsed

I am having the same error code returned. Have you figured out a possible solution?

nikitaszvan avatar May 01 '25 22:05 nikitaszvan

Image

This user agent has already been blocked. You just need to switch to a different user agent, and it will work — I've tested it and it works.

letrongtai902 avatar May 03 '25 16:05 letrongtai902

Image

This user agent has already been blocked. You just need to switch to a different user agent, and it will work — I've tested it and it works.

Try switching to this user agent and see: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/135.0.0.0 Safari/537.36

letrongtai902 avatar May 03 '25 16:05 letrongtai902

Image This user agent has already been blocked. You just need to switch to a different user agent, and it will work — I've tested it and it works.

Try switching to this user agent and see: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/135.0.0.0 Safari/537.36

Bravo!!! It works

hazhayder avatar May 04 '25 16:05 hazhayder

2025-05-04 15:38:58,605 - ERROR - JobSpy:Bayt - Bayt: Error fetching jobs - 403 Client Error: Forbidden for url: https://www.bayt.com/en/international/jobs/software%20engineer-jobs/?page=1 2025-05-04 15:38:59,063 - ERROR - JobSpy:ZipRecruiter - 429 Response - Blocked by ZipRecruiter for too many requests 2025-05-04 15:38:59,967 - ERROR - JobSpy:Glassdoor - Glassdoor response status code 403 2025-05-04 15:38:59,968 - ERROR - JobSpy:Glassdoor - Glassdoor: location not parsed 2025-05-04 15:39:18,845 - INFO - JobSpy:Linkedin - finished scraping 2025-05-04 15:40:10,594 - ERROR - JobSpy:Naukri - Naukri API request failed: HTTPSConnectionPool(host='www.naukri.com', port=443): Max retries exceeded with url: /jobapi/v3/search?noOfResults=20&urlType=search_by_keyword&searchType=adv&keyword=software+engineer&pageNo=1&k=software+engineer&seoKey=software-engineer-jobs&src=jobsearchDesk&latLong=&location=San+Francisco%2C+CA&days=1 (Caused by ReadTimeoutError("HTTPSConnectionPool(host='www.naukri.com', port=443): Read timed out. (read timeout=10)")) Found 124 jobs id site ... vacancy_count work_from_home_type 0 go-bFI6RzlxP6rvKL-pAAAAAA== google ... None None 1 go-aKfEYtMVZxNPEBOpAAAAAA== google ... None None 2 go-WtQCSOKDQJa-CETQAAAAAA== google ... None None 3 go-tXojrPE3Jm0ITjpmAAAAAA== google ... None None 4 go--G--QRdvQm8ZdLZWAAAAAA== google ... None None

[5 rows x 34 columns]


I am having the same error code returned. Have you figured out a possible solution?

zenith0089 avatar May 04 '25 19:05 zenith0089