feat: enhance cookie handling by introducing CookieResult and updating get_cookies_from_browser to return structured results

This commit is contained in:
bohd4nx
2026-04-14 01:25:25 +03:00
parent 269551da2f
commit 391d15221b
17 changed files with 99 additions and 37 deletions
+2 -1
View File
@@ -21,7 +21,9 @@ from pyfragment.types import (
GiftsResult,
LoginCodeResult,
NumbersResult,
PremiumGiveawayResult,
PremiumResult,
StarsGiveawayResult,
StarsResult,
TerminateSessionsResult,
UsernamesResult,
@@ -34,7 +36,6 @@ from pyfragment.types.constants import (
SUPPORTED_WALLET_VERSIONS,
WalletVersion,
)
from pyfragment.types.results import PremiumGiveawayResult, StarsGiveawayResult
from pyfragment.utils.http import fragment_request, get_fragment_hash, make_headers
from pyfragment.utils.wallet import get_wallet_info