The code for this example is in the 07/13_clean_jd.py file. It continues on where the 07/12_scrape_job_stackoverflow.py file ends:
- We start by creating a BeautifulSoup object from the description key of the description we loaded. We will also print this to see what it looks like:
desc_bs = BeautifulSoup(job_listing_contents["description"], "lxml")print(desc_bs)<p><span>Location options: <strong>Paid relocation</strong></span><br/><span>Job type: <strong>Permanent</strong></span><br/><span>Experience level: <strong>Mid-Level, Senior</strong></span><br/><span>Role: <strong>Full Stack Developer</strong></span><br/><span>Industry: <strong>Aerospace, Information Technology, Web Development</strong></span><br/><span>Company ...