[問題] 如何連線到很多網頁查詢前幾句文章的內容
hello
我有一個網頁需要分析很多網站(約100筆)
所以我需要去抓取每個網站的前幾筆句子來分析
看了一下個個網站的結構完全不一樣
不太知道該從哪裡分析或是抓取資料
有沒有人可以提供好點子
For example:
我要連線到CNN網頁http://www.cnn.com/
得到前五句:
Mount St. Helens blows smoke, ash
Mount St. Helens began blowing a large cloud of smoke and steam
Friday following a week in which scientists have closely monitored
the volcano. The volcanic dome within the mountain's crater has
moved about three inches since Monday, U.S. Geological Survey
geologist John Major said.
Geologist Tom Pierson called the vent a small explosion, which
could be the first of larger events, including an eruption.
我是用asp.net + c#
謝謝大家
--
※ 發信站: 批踢踢實業坊(ptt.cc)
◆ From: 130.212.108.241
C_Sharp 近期熱門文章
PTT數位生活區 即時熱門文章