Yahoo Pipes:可以从feedproxy.google.com网址获取真实网址吗? [英] Yahoo Pipes: Possible to retrieve get real url from feedproxy.google.com url?

查看:100
本文介绍了Yahoo Pipes:可以从feedproxy.google.com网址获取真实网址吗?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

使用Yahoo Pipes,是否可以轮询此URL
http://feedproxy.google.com/~r/Techcrunch/〜3/P-_qWQXyAPU/
并获取真实的URL
http://www.techcrunch.com/2009/12/08/build-it-with-me
返回管道?

Using Yahoo Pipes, is it possible to poll this url
http://feedproxy.google.com/~r/Techcrunch/~3/P-_qWQXyAPU/
and get the real url
http://www.techcrunch.com/2009/12/08/build-it-with-me
returned to the pipe?

理想情况下,该解决方案将具有足够的通用性,可以轮询任何URL并获取其真实" URL. 我认为YQL可能会实现,但不确定.

Ideally the solution would be generic enough to poll any url and get it's "real" url. I'm thinking it might be possible with YQL but am not sure.

推荐答案

为完整起见,我想我可以将您在YDN上获得的答案链接到

Just for completeness, I thought I would link the answer you got on YDN:

http://developer.yahoo.net/forum/index.php?showtopic=3993&st=0&p=10927&#entry10927

如果使用 y.rest() 进行呼叫,则可以使用 followRedirects(false) 像这样:

If you use y.rest() to make the call you can use followRedirects(false) like this:

use 'http://javarants.com/yql/javascript.xml'as j; select * from j where code='response.object =
y.rest("http://feedproxy.google.com/~r/Techcrunch/~3/P-%5FqWQXyAPU/").followRedirects(false).get().headers.location;'

山姆

这篇关于Yahoo Pipes:可以从feedproxy.google.com网址获取真实网址吗?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆