mirror of https://github.com/Bunsly/JobSpy
chore: black
parent
c72d27e4a8
commit
bf56410ecf
|
@ -38,7 +38,6 @@ class IndeedScraper(Scraper):
|
||||||
return JobResponse(
|
return JobResponse(
|
||||||
success=False,
|
success=False,
|
||||||
error=f"Response returned {response.status_code}",
|
error=f"Response returned {response.status_code}",
|
||||||
http_response_code=response.status_code
|
|
||||||
)
|
)
|
||||||
|
|
||||||
soup = BeautifulSoup(response.content, "html.parser")
|
soup = BeautifulSoup(response.content, "html.parser")
|
||||||
|
|
|
@ -31,7 +31,6 @@ class LinkedInScraper(Scraper):
|
||||||
return JobResponse(
|
return JobResponse(
|
||||||
success=False,
|
success=False,
|
||||||
error=f"Response returned {response.status_code}",
|
error=f"Response returned {response.status_code}",
|
||||||
http_response_code=response.status_code
|
|
||||||
)
|
)
|
||||||
|
|
||||||
soup = BeautifulSoup(response.text, "html.parser")
|
soup = BeautifulSoup(response.text, "html.parser")
|
||||||
|
|
|
@ -37,7 +37,6 @@ class ZipRecruiterScraper(Scraper):
|
||||||
return JobResponse(
|
return JobResponse(
|
||||||
success=False,
|
success=False,
|
||||||
error=f"Response returned {response.status_code}",
|
error=f"Response returned {response.status_code}",
|
||||||
http_response_code=response.status_code
|
|
||||||
)
|
)
|
||||||
|
|
||||||
html_string = response.content
|
html_string = response.content
|
||||||
|
|
Loading…
Reference in New Issue