Skip to content

Commit

Permalink
fix: 라운지오 브레이크타임
Browse files Browse the repository at this point in the history
  • Loading branch information
GanziDaeyong committed Mar 19, 2024
1 parent 9bce8aa commit 08a1836
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 11 deletions.
14 changes: 14 additions & 0 deletions crawlers/base_crawler.py
Original file line number Diff line number Diff line change
Expand Up @@ -162,6 +162,20 @@ class RestaurantCrawler(metaclass=ABCMeta):
"평일",
"토요일",
"TakeOut",
"셋트메뉴",
"단품메뉴",
"사이드메뉴",
"결제",
"혼잡시간",
"말렌카케이크",
"1조각홀케이크",
"식사",
"사이드",
"오전",
"오후",
"브레이크", # 라운지오 (오후 2시 40~오후 4시 브레이크 타임)
"TAKE", # 301동 <TAKE-OUT: 9시~16시> 및 ★TAKE-OUT 카페 301동
"대학원생", # 301동 12:30~14:00(학생,대학원생 이용)
]

def __init__(self):
Expand Down
11 changes: 0 additions & 11 deletions crawlers/snuco_crawler.py
Original file line number Diff line number Diff line change
Expand Up @@ -75,17 +75,6 @@ class SnucoRestaurantCrawler(RestaurantCrawler):

def __init__(self):
super().__init__()
self.not_meal += [
"셋트메뉴",
"단품메뉴",
"사이드메뉴",
"결제",
"혼잡시간",
r"말렌카케이크",
"1조각홀케이크",
"식사",
"사이드",
]

def is_next_line_keyword(self, meal):
if not meal:
Expand Down

0 comments on commit 08a1836

Please sign in to comment.