sina 图片屏蔽 随记

python3   sina 屏蔽 随记

>>> url='http://t.cn/AiWmgXht'
>>> re=requests.get(url)
>>> re.history
[<Response [302]>, <Response [301]>]
>>> re.history[1]
<Response [301]>
>>> re.history[1].url
'http://wx1.sinaimg.cn/large/006T7jotly1g4zail4pgtj30u045uu0x.jpg'

ping工具网站

https://www.17ce.com/

 

发现不同大小的包。即是还未被屏蔽掉的CDN

修改host即可访问

posted @ 2019-07-16 18:11  Zhu013  阅读(241)  评论(0编辑  收藏  举报