I'm practicing BeautifulSoup by scraping imdb.com and for a given actor I would like to
- get the list of all films they starred in as an actor;
- filter our all films that are not full-length features, i.e. TV series, short films, short documentaries, etc.
So far for all films I can get something like the following soup:
<div class="filmo-row even" id="actor-tt14677742">
<span class="year_column">2021</span>
<b><a href="/title/tt14677742/">Welcome Back Future</a></b>
(Short)
<br/>
Leo
</div>
As we can see, this film should be filtered out, because it's a short one. We can also see that the info about that (Short) is not wrapped in any tags.
Thus, My question:
How can I get this information from the soup, how can I look for some info after </b> if there is any at all?