We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6f57239 commit 5848fb4Copy full SHA for 5848fb4
web-scraping-bs4/scrape_jobs.py
@@ -10,8 +10,9 @@
10
11
# Look for Python jobs
12
print("PYTHON JOBS\n==============================\n")
13
-python_jobs = results.find_all("h2",
14
- string=lambda text: "python" in text.lower())
+python_jobs = results.find_all(
+ "h2", string=lambda text: "python" in text.lower()
15
+)
16
python_job_elems = [h2_elem.parent.parent.parent for h2_elem in python_jobs]
17
for p_job in python_job_elems:
18
title_elem = p_job.find("h2", class_="title")
0 commit comments