mirror of https://github.com/Bunsly/JobSpy
chore(jobs) remove invalid attr response.reason
parent
b41bfd3c1a
commit
2c6e19254e
|
@ -37,7 +37,7 @@ class IndeedScraper(Scraper):
|
|||
if response.status_code != status.HTTP_200_OK:
|
||||
raise HTTPException(
|
||||
status_code=status.HTTP_400_BAD_REQUEST,
|
||||
detail=f"Response returned {response.status_code} {response.reason}",
|
||||
detail=f"Response returned {response.status_code}",
|
||||
)
|
||||
|
||||
soup = BeautifulSoup(response.content, "html.parser")
|
||||
|
|
Loading…
Reference in New Issue