Skip to content

Commit

Permalink
old again
Browse files Browse the repository at this point in the history
  • Loading branch information
bearsyankees committed Jan 16, 2024
1 parent 8e11f15 commit f280b58
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions ferry/crawler/fetch_ratings.py
Original file line number Diff line number Diff line change
Expand Up @@ -161,11 +161,11 @@ def is_yale_college(course_season_code: str, course_crn: str) -> Union[str, bool
# -------------------------------

# initiate Yale session to access ratings
#session = create_session()
session = create_session()
# try new way
with open('cascookie.txt', 'r') as cookiefile:
"""with open('cascookie.txt', 'r') as cookiefile:
castgc = cookiefile.read()
session = _create_session_from_cookie(castgc)
session = _create_session_from_cookie(castgc)"""

for season_code, crn in tqdm(queue):
# Create directory if doesn't exist
Expand Down

0 comments on commit f280b58

Please sign in to comment.