change linkedin ep (#185)

pull/186/head^2 1.1.64
Cullen Watson 2024-08-14 02:39:43 -05:00 committed by GitHub
parent 0e046432d1
commit 6bb7d81ba8
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 2 additions and 2 deletions

View File

@ -1,6 +1,6 @@
[tool.poetry] [tool.poetry]
name = "python-jobspy" name = "python-jobspy"
version = "1.1.63" version = "1.1.64"
description = "Job scraper for LinkedIn, Indeed, Glassdoor & ZipRecruiter" description = "Job scraper for LinkedIn, Indeed, Glassdoor & ZipRecruiter"
authors = ["Zachary Hampton <zachary@bunsly.com>", "Cullen Watson <cullen@bunsly.com>"] authors = ["Zachary Hampton <zachary@bunsly.com>", "Cullen Watson <cullen@bunsly.com>"]
homepage = "https://github.com/Bunsly/JobSpy" homepage = "https://github.com/Bunsly/JobSpy"

View File

@ -236,7 +236,7 @@ class LinkedInScraper(Scraper):
""" """
try: try:
response = self.session.get( response = self.session.get(
f"{self.base_url}/jobs-guest/jobs/api/jobPosting/{job_id}", timeout=5 f"{self.base_url}/jobs/view/{job_id}", timeout=5
) )
response.raise_for_status() response.raise_for_status()
except: except: