Skip to content

Commit

Permalink
[Refactor] 학식 파싱 방식 수정
Browse files Browse the repository at this point in the history
  • Loading branch information
hen715 committed Aug 6, 2024
1 parent 40c428a commit 1adf701
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ public void storeStudentCafeteria(List<WebElement> wrapWeekDivs){
for (int i = 1; i < 4; i++) {
List<WebElement> foods = rows.get(i).findElements(By.tagName("td"));
if(i==2){
String menu = foods.get(0).getText();
String menu = foods.get(0).getText().equals("")?"오늘은 쉽니다":foods.get(0).getText();
menu = menu.replace("\\", "");
menu = menu.replace("\"", "");
redisService.storeMeal("학생식당", day, i,menu);
Expand Down

0 comments on commit 1adf701

Please sign in to comment.