Mailing List Archive

Pywikibot login session period
Hello all,

I am exploring pywikibot to write few bots.

When importing it as a library in my python code, on initial execution it
asks to login to the relevant wiki site.

Then it works as expected.

How long this login session is stored?

Is one time login enough?
Will it ask to login after some time?


How to run this in a daily cron job on any remote server, if the session
persistence is some limited time.

Share some thoughts on this.

Thanks.
Shrini
Re: Pywikibot login session period [ In reply to ]
Hi Shrini,

On Fri, 2021-03-26 at 02:05 +0530, Shrinivasan T wrote:
>  I am exploring pywikibot to write few bots.
>
> How long this login session is stored?
> Is one time login enough?
> Will it ask to login after some time?

For Pywikibot, please see "Get help" on
https://www.mediawiki.org/wiki/Manual:Pywikibot

Thanks,
andre
--
Andre Klapper (he/him) | Bugwrangler / Developer Advocate
https://blogs.gnome.org/aklapper/


_______________________________________________
Wikitech-l mailing list
Wikitech-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikitech-l