I tried the following code to scrap the links in the links list but i get None output
links = ['https://www.glassdoor.com/partner/jobListing.htm?pos=101&ao=1136043&s=58&guid=0000018209b985b3814e13e6abec3f6b&src=GD_JOB_AD&t=SR&vt=w&ea=1&cs=1_968a1afd&cb=1658020530267&jobListingId=1007823714104&jrtk=3-0-1g84rj1gokf0t801-1g84rj1hdghre800-21320f35b2a9f6f4-', 'https://www.glassdoor.com/partner/jobListing.htm?pos=102&ao=1136043&s=58&guid=0000018209b985b3814e13e6abec3f6b&src=GD_JOB_AD&t=SR&vt=w&ea=1&cs=1_11e4da95&cb=1658020530267&jobListingId=1007830003866&jrtk=3-0-1g84rj1gokf0t801-1g84rj1hdghre800-6ad629ee4ebc1885-', 'https://www.glassdoor.com/partner/jobListing.htm?pos=103&ao=1136043&s=58&guid=0000018209b985b3814e13e6abec3f6b&src=GD_JOB_AD&t=SR&vt=w&cs=1_0ae3fe0c&cb=1658020530267&jobListingId=1008006371431&jrtk=3-0-1g84rj1gokf0t801-1g84rj1hdghre800-f24a3ad703626f08-']
for link in links:
page = requests.get(link)
soup = BeautifulSoup(page.text, 'html.parser')
div = soup.find(id="JobDescriptionContainer")
print(div)
The page html is something like this:
<div id="Job view">
<div>
<div>
<div>
<span>
<div>
<div>
<header>
<div>
<div>
<div id="JobDescriptionContainer">
<div>
<div>
<p... text>
<p...text>
<p...text>
<h3 Responsabilities>
<ul>
<li>....<li/>
<li>....<li/>
<li>....<li/>
<h3 Qualifications>
<ul>
<li>....<li/>
<li>....<li/>
<li>....<li/>
I want to get all the info from each link to create a data frame with all the link's information. The text I want to get from each link is the text below the div whose name is 'JobDescriptionContainer'(the real links list contains 900 links) Also i will like to separate in different data frame columns the text below 'responsibilities' and 'Qualifications' Can someone give me a hand with this?