Skip to content

Commit

Permalink
Update exception
Browse files Browse the repository at this point in the history
  • Loading branch information
wkobiela committed Sep 9, 2023
1 parent 6902b60 commit 7f4651c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions scrappers/bulldogjob.py
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ def updateJobsDict(self, url):
if job_title is not None:
job_title = job_title.find(text=True, recursive=False).text
else:
job_title='Sprawdź regex'
job_title="Sprawdź regex."
job_company = job.find('div', class_=re.compile("text-xxs uppercase", re.I)).text
job_salary = job.find('div', class_=re.compile("lg:font-extrabold md:text-xl text-dm", re.I))
if job_salary.find(text=True, recursive=True) is not None:
Expand All @@ -50,7 +50,7 @@ def updateJobsDict(self, url):
"Location": [text]}
text = ""
except Exception as ie:
print(ie)
print(f"Exception {ie} on {job}.")
except Exception as e:
print(f"Exception {e} on updateJobsDict.")

Expand Down

0 comments on commit 7f4651c

Please sign in to comment.