正在查看 3 个帖子:1-3 (共 3 个帖子)
- 作者帖子
春田MoMo游客图片网址:
www.chnmuseum.cn/enlar...72/072.xml
自己用编辑了抓图代码:
url_template: "http://www.chnmuseum.cn/tilegenerator/aggregate/004/072/072_files/11/{{x}}_{{y}}.jpg"
x_template: "x * tile_size"
y_template: "y * tile_size"
variables:
- { name: x, from: 0, to: 8} # Number of tiles on the x axis
- { name: y, from: 0, to: 8} # Number of tiles on the y axis
- { name: tile_size, value: 256 }
headers:
Referer: "http://www.chnmuseum.cn"然后用dezoomify-rs.exe运行,可是一直报错,请问该如何下载?感谢!!@未曾
未曾管理员@春田MoMo #46733
根据其参数页
www.chnmuseum.cn/tileg...72/072.xml自定义tu.dzi
<?xml version="1.0" encoding="UTF-8"?> <Image TileSize="256" Overlap="1" Format="jpg" xmlns="http://schemas.microsoft.com/deepzoom/2009" Url="http://www.chnmuseum.cn/tilegenerator/aggregate/004/072/072_files/"> <Size Width="2086" Height="2500"/> </Image>
然后使用命令下载
dezoomify-rs -r 10 --accept-invalid-certs -H "User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/78.0.3904.97 Safari/537.36" -H "referer: http://www.chnmuseum.cn/" --dezoomer deepzoom "tu.dzi" "shuchu"%random%".jpg"
春田MoMo游客@未曾 #46735
感谢!!
- 作者帖子
正在查看 3 个帖子:1-3 (共 3 个帖子)
正在查看 3 个帖子:1-3 (共 3 个帖子)