Skip to content

Commit b548f9c

Browse files
committed
Update Crawler Keywords With Grad and Undegrad
1 parent 3a07ff0 commit b548f9c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Search-Engine-and-Crawler/Crawler/crawlerExpand.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@
4242

4343
# RegEx that is used to filter searches for URLs on any given page.
4444
# Used in is_relevant_link_from_soup and is_relevant_link_from_html functions
45-
filter_regex = re.compile(".*([Pp]rogram|[Aa]dmission|[Cc]ertificate|[Dd]egree|[Dd]iploma|[Ff]aculty|[Ss]chool|[Dd]epartment).*")
45+
filter_regex = re.compile(".*([Pp]rogram|[Aa]dmission|[Cc]ertificate|[Dd]egree|[Dd]iploma|[Ff]aculty|[Ss]chool|[Dd]epartment|[Uu]ndergrad|[Gr]grad).*")
4646
filter_title_regex = re.compile(".*([Pp]rogram|[Aa]dmission|[Cc]ourse).*")
4747

4848
# Var to choose mode

0 commit comments

Comments
 (0)