Py学习  »  问与答

关于 requets 返回

olivetree • 10 年前 • 4324 次点击  

request.get 抓取页面,status_code 为200,但是页面没有完全返回,为什么会出现这种情况?

Python社区是高质量的Python/Django开发社区
本文地址:http://www.python88.com/topic/444
 
4324 次点击  
文章 [ 3 ]  |  最新文章 10 年前
olivetree
Reply   •   1 楼
olivetree    10 年前

@alexkh 也不是每次都这样,概率性的。而且在本地没有出现这个问题,服务器上才出现这个问题。。。

alexkh
Reply   •   2 楼
alexkh    10 年前

建议把URL发出来看下

techchina
Reply   •   3 楼
techchina    10 年前

有可能页面是用Javascript来拼接的,例如微博(weibo.com),这样就啥也抓不到了