Skip to content

Commit b77a61a

Browse files
committed
added assertion
1 parent a8b558e commit b77a61a

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/scrape.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@ def scrape(
1616
session = Session()
1717

1818
session = login.login_with_drexel_connect(session)
19+
assert "shib_idp_session" in session.cookies, "Failed to log in to Drexel Connect"
1920

2021
data: dict[str, dict[str, Any]] = {}
2122

0 commit comments

Comments
 (0)