Skip to content

Commit 5848fb4

Browse files
committed
Fix: black style
1 parent 6f57239 commit 5848fb4

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

web-scraping-bs4/scrape_jobs.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,9 @@
1010

1111
# Look for Python jobs
1212
print("PYTHON JOBS\n==============================\n")
13-
python_jobs = results.find_all("h2",
14-
string=lambda text: "python" in text.lower())
13+
python_jobs = results.find_all(
14+
"h2", string=lambda text: "python" in text.lower()
15+
)
1516
python_job_elems = [h2_elem.parent.parent.parent for h2_elem in python_jobs]
1617
for p_job in python_job_elems:
1718
title_elem = p_job.find("h2", class_="title")

0 commit comments

Comments
 (0)