7,763
社区成员
http://www.hebgb.gov.cn/student/class_certificate_download.do?cid=10433&&cuid=5964464
请问此类的图片下载地址如可用vb直接来下载?
网页get访问该网址下载图片的响应数据如下:
HTTP/1.1 200 OK
Content-Encoding: gzip
Server: Resin/4.0.65
Cache-Control: no-cache
X-Content-Type-Options: nosniff
X-XSS-Protection: 1
Content-Security-Policy:
Strict-Transport-Security: max-age=63072000; includeSubdomains; preload
X-Permitted-Cross-Domain-Policies: master-only
X-Download-Options: noopen
Content-Disposition: attachment;filename=813e9d9bb98c0a8e35655fa019fdbfe03e014b0c3edcb489c229d55b6e0525c3.png
Content-Type: text/html; charset=utf-8
Transfer-Encoding: chunked
Date: Thu, 17 Nov 2022 04:41:26 GMT
没有直接返回数据的话,用 xmlhttp 就不行了,你可以考虑用 SeleniumBasic 、 EdgeWebView 等,直接打开网页用程序来操作下载。