Zxilly
Try to be 1%
Zxilly's Blog

使用批处理下载崩坏3壁纸

https://learningman.top/wp-content/uploads/2019/10/2.jpg

起因

闲得无聊找壁纸,崩坏3官网上有一堆,不想手动一张张下,所以写了这么个玩意儿。 为什么不用Python呢。。。因为没装Python3

Code

@echo off
title BH3Download
cd %~dp0
set com1=https://static-event.benghuai.com/bh3_homepage/images/pic/picture/0
set file=jpg
set num=1
:forstart
set "comfull=%com1%%num%.%file%"
curl "%comfull%" --output %num%.%file%"
echo "%comfull%"
if %num%==39 goto endl
if %num%==36 set file=png
if %num%==9 set com1=https://static-event.benghuai.com/bh3_homepage/images/pic/picture/
set /a num+=1
goto forstart
:endl
pause>nul

壁纸包

壁纸包包括上文的批处理文件,如果官网更新,可以自行修改

没有标签
首页      代码      使用批处理下载崩坏3壁纸

Zxilly

文章作者

回复 Kininaru 取消回复

textsms
account_circle
email

Zxilly's Blog

使用批处理下载崩坏3壁纸
起因 闲得无聊找壁纸,崩坏3官网上有一堆,不想手动一张张下,所以写了这么个玩意儿。 为什么不用Python呢。。。因为没装Python3 Code @echo off title BH3Download cd %~dp0 set com1=ht…
扫描二维码继续阅读
2019-10-18