You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 

18 lines
413 B

@echo off
chcp 65001 >nul
cd /d "%~dp0"
set CLASSPATH=libs\gson-2.10.1.jar;libs\slf4j-api-2.0.9.jar;libs\slf4j-simple-2.0.9.jar;libs\json-20231013.jar;out
REM 股票爬取测试
echo ===== 测试1: 股票数据爬取 =====
echo 1 > temp_input.txt
java -cp "%CLASSPATH%" com.example.crawler.Main < temp_input.txt
del temp_input.txt
echo.
echo ===== 检查data目录 =====
dir data
echo.
echo ===== 完成 =====