可以阅读当天报纸,报纸,报纸下载到c:\download
编译windows下WGet,首先编译OpenSSL,得到文件Wget.exe
获得京华时报批处理文件
FOR /F "tokens=1,2,3 delims=- " %%i IN ('DATE /T') DO SET A=%%i-%%j-%%k
FOR /F "tokens=1,2,3 delims=- " %%i IN ('DATE /T') DO SET D=%%i%%j%%k
mkdir C:\download
set savepath=C:\download\%D%\
mkdir %savepath%
set url=http://bjt.net.cn/pdf/%A%/%D%_
for /l %%N in (1,1,9) do wget %url%0%%N.pdf -P%savepath%
for /l %%N in (10,1,215) do wget %url%%%N.pdf -P%savepath%
点击下载