0

我使用 MWFeedParser 从 BBC 新闻的 RSS 提要中返回故事。例如,它们返回以下内容:

item: MWFeedItem: “Woman guilty of family fire killings” - 2013-04-30 15:04:31 +0000
identifier: http://www.bbc.co.uk/news/uk-wales-22294592
title: Woman guilty of family fire killings
link: http://www.bbc.co.uk/news/uk-wales-22294592#sa-ns_mchannel=rss&ns_source=PublicRSS20-sa
date: 2013-04-30 15:04:31 +0000
updated: (null)
summary: A woman is convicted of murdering five members of a neighbouring family, including three children, by starting a house fire.
content: (null)
enclosures: (null)

转到其中任何一个链接都会返回文章,如下所示: http ://www.bbc.co.uk/news/uk-wales-22294592

我想从该页面获取图像和文章内容。我该怎么做呢?

4

1 回答 1

1

您已经迈出了第一步:您知道这篇文章位于http://www.bbc.co.uk/news/uk-wales-22294592。因此,您从该页面下载内容并对其进行解析。

于 2013-04-30T16:16:07.420 回答