diff --git a/geminikit/__init__.py b/geminikit/__init__.py index ca57ee1..3ff7517 100644 --- a/geminikit/__init__.py +++ b/geminikit/__init__.py @@ -1,2 +1,4 @@ from geminikit.gemini import Gemini from geminikit.asynic_gemini import Gemini as Asynic_Gemini +from geminikit.helpers import get_cookies_from_file + diff --git a/geminikit/helpers.py b/geminikit/helpers.py index 685c961..8be08bf 100644 --- a/geminikit/helpers.py +++ b/geminikit/helpers.py @@ -34,7 +34,7 @@ def generate_random_string(): } -def get_cookies(text): +def get_cookies_from_file(text): cookies = {} for cookie_name in base_cookies: pattern = rf' {cookie_name}=([^\s;]+)' diff --git a/setup.py b/setup.py index 2e94076..4929555 100644 --- a/setup.py +++ b/setup.py @@ -7,7 +7,7 @@ def get_long_description(): # setup( name="geminikit", - version="1.0.5", + version="1.0.6", author="paviththanan", author_email="rkpavi06@gmail.com", description="The python package that returns Response of Google Gemini through Cookies.",