7th May 2017, 06:43 PM
|
Member
|
|
Join Date: Nov 2013
Posts: 605
|
|
Quote:
Originally Posted by Shaun
is it possible to use this similar code to login in to the nsw Tab site and upload a document to there batch betting section?
Not sure if you have an account with them or the vic version but it is located in the side panel under my account/batch betting.
|
I appear to have an account with them but it also seems to be locked due to non-use. Just poking around the homepage though and it seems clear to me that you'd have to use a different approach to what worked on the NZ TAB site (caution: I'm not as learned as I appear, most of my prior successes have been due to persistence rather than skill! ).
The NSW/Vic TAB use a design that loads the page data dynamically. You need to "get at" the data before your browser makes it fit for human viewing. To do that you can use what is called a "headless" browser. I've used one called PhantomJS before. I've mentioned it a couple of times on the forum, here's a brief intro to it: http://www.ozmium.com.au/forums/sho...25&postcount=55
Actually, that thread's all about the TAB and automating betting. It might have what you're looking for - presuming it hasn't all changed in the meantime.
|