Skip to content

Commit 1068159

Browse files
committed
fix: holiday URL
1 parent 407750f commit 1068159

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

utils/dates.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ def get_holidates() -> (list[datetime], list[str, datetime]):
3131
scrapes holiday list from IITKGP website
3232
returns: list of holidays as occasions and datetime objects
3333
"""
34-
url = "https://www.iitkgp.ac.in/holidays"
34+
url = "http://iitkgp.ac.in/holidays"
3535
result = requests.get(url).text
3636
doc = bs(result, "html.parser")
3737
tbody = doc.tbody
@@ -182,4 +182,4 @@ def get_rfc_time(time: int, day: str, minute: int = 0, second: int = 0) -> str:
182182

183183
for hday in hdays.keys():
184184
hdays[hday].sort()
185-
hdays[hday] = list(set(hdays[hday])) ### datetime dict(list)
185+
hdays[hday] = list(set(hdays[hday])) ### datetime dict(list)

0 commit comments

Comments
 (0)