开发者

How to retrieve the head of a html document using YQL?

I'm curious if this is possible at all since a "se开发者_运维知识库lect * from html" query only returns the body of the document.


Finally found the answer. (EDIT : thanks to Salathe on the YQL forums!)

select * from html where url="http://stackoverflow.com" and xpath='/html/head/title'
0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜