Hi I am trying to web scrape the following page:
https://www.imdb.com/chart/top
I want to grab all the director names that show when you hover over any movie name:
here is what I did:
direc = requests.get(imdb).content
direc_b = BeautifulSoup(direc, 'lxml')
direc_b_t = direc_b.find_all(class_= "titleColumn")
the result i am getting is the following:
<td class="titleColumn">
1.
<a href="/title/tt0111161/" title="Frank Darabont (dir.), Tim Robbins, Morgan Freeman">Die Verurteilten</a>
<span class="secondaryInfo">(1994)</span>
</td>
what I want to grab is the following line but I am not sure what I should do next.:
title="Frank Darabont (dir.), Tim Robbins, Morgan Freeman
Any idea?
Thanks