我从 Tom Holland 的 IMDB 页面中提取了以下数据并将其定义为“movie_contents”:
[<div class="filmo-row odd" id="actor-tt10872600">
<span class="year_column">
2021
</span>
<b><a href="/title/tt10872600/">Untitled Spider-Man Sequel</a></b>
(<a class="in_production" href="https://pro.imdb.com/title/tt10872600?rf=cons_nm_filmo">announced</a>)
<br/>
Peter Parker / Spider-Man
</div>, <div class="filmo-row even" id="actor-tt1464335">
<span class="year_column">
2021
</span>
<b><a href="/title/tt1464335/">Uncharted</a></b>
(<a class="in_production" href="https://pro.imdb.com/title/tt1464335?rf=cons_nm_filmo">filming</a>)
<br/>
Nathan Drake
</div>, <div class="filmo-row odd" id="actor-tt2076822">
<span class="year_column">
2021
</span>
<b><a href="/title/tt2076822/">Chaos Walking</a></b>
(<a class="in_production" href="https://pro.imdb.com/title/tt2076822?rf=cons_nm_filmo">post-production</a>)
<br/>
Todd Hewitt
</div>, <div class="filmo-row even" id="actor-tt9130508">
<span class="year_column">
2020/I
</span>
<b><a href="/title/tt9130508/">Cherry</a></b>
(<a class="in_production" href="https://pro.imdb.com/title/tt9130508?rf=cons_nm_filmo">post-production</a>)
<br/>
Nico Walker
</div>, <div class="filmo-row odd" id="actor-tt7395114">
<span class="year_column">
2020
</span>
<b><a href="/title/tt7395114/">The Devil All the Time</a></b>
(<a class="in_production" href="https://pro.imdb.com/title/tt7395114?rf=cons_nm_filmo">completed</a>)
<br/>
Arvin Russell
</div>, <div class="filmo-row even" id="actor-tt7146812">
<span class="year_column">
2020/I
</span>
<b><a href="/title/tt7146812/">Onward</a></b>
<br/>
Ian Lightfoot (voice)
</div>, <div class="filmo-row odd" id="actor-tt6673612">
<span class="year_column">
2020
</span>
<b><a href="/title/tt6673612/">Dolittle</a></b>
<br/>
Jip (voice)
</div>
我有问题如何提取所有角色名称“Peter Parker / Spider-Man”、“Nathan Drake”、“Todd Hewitt”等?
白板的微信
HUX布斯
相关分类