YQL, Yahoo 的通用性抓取引擎.
抓 cnbeta 首页新闻标题:
select * from data.html.cssselect where url="
http://www.cnbeta.com/" and css=".items_area dt a";
{
"a": [
{
"href": "/articles/293077.htm",
"target": "_blank",
"content": "可打电话 三星巨屏7英寸手机平板Galaxy W现身"
},
{
"href": "/articles/293075.htm",
"target": "_blank",
"content": "苹果收购Beats的真正目的:点缀iWatch"
},
{
"href": "/articles/293073.htm",
"target": "_blank",
"content": "Android和iOS应该如何向对方学习?"
},
...
]
}