Skip to content

Commit

Permalink
Merge pull request #165 from shaunpatterson/master
Browse files Browse the repository at this point in the history
Change fc.yahoo.com to finance.yahoo.com Fix for #164
  • Loading branch information
JECSand authored Dec 9, 2023
2 parents 0aea321 + 6def957 commit b33f5f4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion yahoofinancials/sessions.py
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,7 @@ def setup_session_with_cookies_and_crumb(session: Session):
headers = {**random.choice(HEADERS)}
session.headers = headers
try:
response = session.get('https://fc.yahoo.com')
response = session.get('https://finance.yahoo.com')
except Exception:
return session, None
else:
Expand Down

0 comments on commit b33f5f4

Please sign in to comment.