Skip to content

Commit 7a05f4a

Browse files
committed
adding up company name
1 parent 826f5c1 commit 7a05f4a

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

WEB SCRAPING/WebScraping-Data-Analytics/pydataanalytics.py

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,9 +17,13 @@
1717
# Pulling out the needed tags
1818
job_titles =job_details.find_all(['h2','li','dl'])
1919

20+
company_name =job_details.find_all('div', class_='sc-fzoiQi')
21+
22+
total_job_info = job_titles + company_name
23+
2024
# Printing out the content of the tags
2125

22-
for job_title in job_titles:
26+
for job_title in total_job_info:
2327
print(job_title.text)
2428

2529

0 commit comments

Comments
 (0)