今天看到一个网站 很神奇的把微信的图片都一起转发过来,微信的图片应该是有做防盗链处理的:
他的图片链接是http://read.html5.qq.com/image?src=forum&q=5&r=0&imgflag=7&imageUrl=http://mmbiz.qpic.cn/mmbiz_jpg/l1KRn7tib8WXEBbVYwVdC0YQWOLLHvU2AKiaLkAkx4Az1y36WCStyRd01gaZOSiaT95B7kyJpFK4DsiceVL0JbhgDw/0?wx_fmt=jpeg
然后微信的原图片链接是:http://mmbiz.qpic.cn/mmbiz_jpg/l1KRn7tib8WXEBbVYwVdC0YQWOLLHvU2AKiaLkAkx4Az1y36WCStyRd01gaZOSiaT95B7kyJpFK4DsiceVL0JbhgDw/0?wx_fmt=jpeg
可以看出来,就是在前面加了http://read.html5.qq.com/image?src=forum&q=5&r=0&imgflag=7&imageUrl=
不太清楚这个是什么?
是自动转换的吗/?
Isn’t it possible to obtain the image path and host it through a third party, Qiniu, or Alibaba Cloud?
First download the image to your own server and then display it to the user
Look at this
http://read.html5.qq.com/image?src=forum&q=5&r=3&imgflag=7&imageUrl=http://mmbiz.qpic.cn/mmbiz_jpg/l1KRn7tib8WXEBbVYwVdC0YQWOLLHvU2AKiaLkAkx4Az1y36WCStyRd01gaZOSiaT95B7kyJpFK4DsiceVL0JbhgDw/0?wx_fmt=jpeg
http://read.html5.qq.com/image?src=forum&q=5&r=0&imgflag=7&imageUrl=http://mmbiz.qpic.cn/mmbiz_jpg/l1KRn7tib8WXEBbVYwVdC0YQWOLLHvU2AKiaLkAkx4Az1y36WCStyRd01gaZOSiaT95B7kyJpFK4DsiceVL0JbhgDw/300?wx_fmt=jpeg
There is a question and answer on Zhihu specifically about this, please refer to it:
Portal:
http://www.zhihu.com/question...