chore(jobs) remove invalid attr response.reason

pull/12/head
Cullen Watson 2023-07-10 17:57:35 -05:00
parent 47a8c62d44
commit 859176cd0b
1 changed files with 1 additions and 1 deletions

View File

@ -37,7 +37,7 @@ class IndeedScraper(Scraper):
if response.status_code != status.HTTP_200_OK: if response.status_code != status.HTTP_200_OK:
raise HTTPException( raise HTTPException(
status_code=status.HTTP_400_BAD_REQUEST, 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") soup = BeautifulSoup(response.content, "html.parser")