链接在这里; http://heart.bmj.com/content/early/2016/08/10/heartjnl-2016-310003.long
我有;
<span class="cit-title">
<span class="cit-series-title">Original article
<span class="cit-sep cit-sep-after-article-series-title">:</span>
</span>Pregnancy outcomes in patients with pulmonary arterial hypertension associated with congenital heart disease
</span>
到目前为止我做了什么?
我选择span.cit-title
但它是innerText
给我;
"Original article: Pregnancy outcomes in patients with pulmonary arterial hypertension associated with congenital heart disease"
我只想得到
"Pregnancy outcomes in patients with pulmonary arterial hypertension associated with congenital heart disease"`
部分。
如何使用类排除跨度cit-series-title
并获取原始文本?