mirror of
https://github.com/Bunsly/JobSpy.git
synced 2026-03-04 19:44:30 -08:00
Merge remote-tracking branch 'origin/main'
This commit is contained in:
@@ -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")
|
||||||
|
|||||||
Reference in New Issue
Block a user