【发布时间】:2011-09-29 20:14:48
【问题描述】:
我正在尝试通过 cURL 检索网页的内容(比如说http://www.foo.com/bar.php)。
当我在浏览器中加载网站时,页面加载时会出现动画,页面最终会显示出来。
但是使用 cURL,这是检索到的内容:
<html>
<head>
<meta HTTP-EQUIV="Refresh" CONTENT="0; URL=http://www.foo.com/bar.php">
<script type="text/javascript">
function waitLoad(){
setTimeout("showWaitingAnimation()", 50);
}
</script>
</head>
<body onload="waitLoad()">
Some stuff here
</body>
</html>
当我尝试对刷新 url 执行 curl 时,它返回的内容完全相同。
有什么建议吗?
干杯,
一个。
【问题讨论】:
-
不是真的,因为它被重定向到的页面完全相同......
-
很难知道该网站在做什么。
标签: curl