Track Topic
: rss

Topic: Scraping keep alive

posts 1–10 of 10
Page 1
?
4 posts

Hi,
Great forum.
I am writing a bot (not using Betfair API).
It seems that the session is reset after about 20 "inactivity" minutes.
I wonder how to send a keep alive message to Betfair web site.
Any idea ?
Thanks in adavance,
Droopy.

?
47 posts

Get a random real page every 15mins ?
E.g. http://sports.betfair.com/Index.do?mi=21094686&ex=1&origin=MRL

Or simulate a button press of refresh.

?
4 posts

Thanks for your answer.
I thought about that solution but you need to change often the page URL as it will expire sooner or later.
I thought there was a Betfair URL that should do the same as the API KeepAlive function.

?
4 posts

Any other idea ?
Do you know the equivalent of the API KeepAlive call ?

?
128 posts
I think this is normal behaviour and if you just login to the homepage and then leave it, you should get logged out after 20min of inactivity. You can confirm that by logging in via the website, wait 30 min and then try to refresh your account. It will most likely say you need to login. This is a security thing.

Incidentally, if you click the funds refresh button, it loads 4 or 5 wallets. I used to call this every 5 min:

https://uk.site.sports.betfair.com/wallet/LocalAccountSummaryWalletView.do?productId=1
?
12 posts

If you managed to login using the web page scraping I assume you have got this implemented, right?

So anytime your session expires just re-login again, no need to keep alive your session, just act when necessary.

?
91 posts

LOL at stefan, he has been a member here for over a month yet finally only posts when he's got a new website on his profile to spam.

?
128 posts
FRED!! He's not like that!! Besides, his new website is horrible. It's all black and dismall and those kind of sites make my eyes hurt so i didn't read past the forst line....

Anyway Fred, how's yer luck? I've pretty much jacked in gambling all together. I have an occasional game of poker and a VERY occasional £10 bet on the horses, but only when my dad gets the nod from a bloke he sees in the pub at random times. Long story short, he's given us 6 horses over the past few months. 5 winners and a S.H. 2nd. Most recent one was The Kiddykid who won on Sunday at 12/1 SP. Dunno what he was on betfair, didn't have chance to look. I think the way forward is being highly selective anmd betting rarely. A bit like poker....get your money in while you're ahead...and if you lose, then that's just bad luck but long term, you're making mathematically sounds decisions.
Wink
?
91 posts

Hey Birchy. I'm still fumbling around with this pro gambling lark. Things are a bit up in the air at the moment as my most reliable regular skimming income has been axed. I've got a few random bots but nothing that I can rely on to pay my wages. I'm trying to break into a couple of new areas and, as ever, I'm currently building my newest best ever bot...

member
4 posts

Birchy and stefanbelo, thanks for the answer.
I prefer the birchy's solution because I could miss a bet opportunity by re-logging after I detect the problem if I understand the stefanbelo solution.

posts 1–10 of 10
Page 1

This Topic Is Locked To Guest Posts

It's been a while since this topic was active, if you'd like to get it going again, please post as a registered member

join now