From f0e96a427c1725893400e7786e98ff75403fbcb7 Mon Sep 17 00:00:00 2001 From: Rossen Georgiev Date: Wed, 21 Dec 2016 14:51:56 +0000 Subject: [PATCH] reword get_web_session() docstring --- steam/client/builtins/web.py | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/steam/client/builtins/web.py b/steam/client/builtins/web.py index e8833d7..345bf77 100644 --- a/steam/client/builtins/web.py +++ b/steam/client/builtins/web.py @@ -16,14 +16,14 @@ class Web(object): """Get web authentication cookies via WebAPI's ``AuthenticateUser`` .. note:: - A session is only valid during the current steam session. + The cookies are valid only while :class:`.SteamClient` instance is logged on. :return: dict with authentication cookies :rtype: :class:`dict`, :class:`None` """ if not self.logged_on: return None - resp = self.send_job_and_wait(MsgProto(EMsg.ClientRequestWebAPIAuthenticateUserNonce), timeout=5) + resp = self.send_job_and_wait(MsgProto(EMsg.ClientRequestWebAPIAuthenticateUserNonce), timeout=7) if resp is None: return None @@ -54,6 +54,9 @@ class Web(object): .. note:: Auth cookies will only be send to ``(help|store).steampowered.com`` and ``steamcommunity.com`` domains + .. note:: + The session is valid only while :class:`.SteamClient` instance is logged on. + :param language: localization language for steam pages :type language: :class:`str` :return: authenticated Session ready for use