Topic on Project:Support desk

How to keep session after log in with a bot?

4
Jlvale (talkcontribs)

I'm trying to implement a script do download some html pages from my wiki and convert them to pdf. I'm logging in into my private wiki using a bot, trough the API, and getting the login token, but I can't keep my session (using the same token) to do some actions, like download an article html page using wget. We use LDAP authentication in our server, this can be a complication to use bots?

Malyacko (talkcontribs)

@Jlvale How do you know that you "can't keep my session"? What happens or not? What are error messages or not?

Jlvale (talkcontribs)

@Malyacko Every time I try to download a page using wget with the bot user, I receive the authentication required page, even though I post the bot login, password and the generated login token.

This post was hidden by Jlvale (history)
Reply to "How to keep session after log in with a bot?"