From c9335ac36f9d0f7ab9b51e295f102986cded726a Mon Sep 17 00:00:00 2001 From: Doug Guthrie Date: Wed, 6 Dec 2023 14:42:53 -0700 Subject: [PATCH] Fix bad crumb assignment --- yahooquery/base.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/yahooquery/base.py b/yahooquery/base.py index 6cf2fc8..a459069 100644 --- a/yahooquery/base.py +++ b/yahooquery/base.py @@ -941,7 +941,7 @@ def __init__(self, **kwargs): self.password = kwargs.get("password", os.getenv("YF_PASSWORD", None)) if self.username and self.password: self.login() - self._crumb = get_crumb(self.session) + self.crumb = get_crumb(self.session) else: host = self._country_params["corsDomain"] cookies, self.crumb = setup_session(host)