From 177c32216b3707ad4aca28d822594340e7dc1684 Mon Sep 17 00:00:00 2001 From: connorsanders Date: Tue, 12 Dec 2023 22:03:45 -0600 Subject: [PATCH] Refactored session management system to handle cookie and crumbs better. Added fixes for #167, #166, #160. --- yahoofinancials/etl.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/yahoofinancials/etl.py b/yahoofinancials/etl.py index 86f92aa..4605793 100644 --- a/yahoofinancials/etl.py +++ b/yahoofinancials/etl.py @@ -49,7 +49,7 @@ def open(self, url, request_headers=None, params=None, proxy=None, timeout=30): ) return response - def get_data(self, url, session, request_headers=None, params=None, proxy=None, timeout=30): + def get_data(self, session, url, request_headers=None, params=None, proxy=None, timeout=30): response = session.get( url=url, params=params,