优化天使动漫签到

This commit is contained in:
Yutousama 2021-12-14 01:53:17 +08:00
parent 5a29f7595b
commit 159a437853
2 changed files with 3 additions and 2 deletions

View File

@ -6,7 +6,7 @@ import org.springframework.boot.autoconfigure.SpringBootApplication;
@SpringBootApplication
public class QQBotApplication {
public static final String version="QQBot v.1.1.1";
public static final String version="QQBot v.1.1.2";
public static void main(String[] args) {
SpringApplication.run(QQBotApplication.class, args);
RedisTools.initRedisPoolSub();

View File

@ -65,8 +65,9 @@ public class Tsdm extends Model {
getTsdm(array, driver);
boolean isSign=false;
for (WebElement element : driver.findElements(By.xpath("//a"))) {
if(element.getText().contains("签到")){
if(element.getText().contains("签到领奖!")){
isSign=true;
break;
}
}
if(!isSign){