Skip to content

Commit ccb95b1

Browse files
authored
Merge pull request #95 from Zohair-coder/sso
Added assertion
2 parents 5af91e1 + 4b7f187 commit ccb95b1

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)