mirror of https://github.com/Bunsly/JobSpy
Merge remote-tracking branch 'origin/main'
commit
cc48218747
|
@ -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")
|
||||||
|
|
Loading…
Reference in New Issue