Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: 라운지오 브레이크타임 #75

Merged
merged 1 commit into from
Mar 19, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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(학생,대학원생 이용)
GoGiants1 marked this conversation as resolved.
Show resolved Hide resolved
]

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
Loading