Eggie6 Posted June 18, 2015 Posted June 18, 2015 Hi, i've been having trouble with this for the whole day, can anyone help me?website is flashscore.com and i'm trying to get "g_1_QJ7Cu8im" (game link) from elements for the first game inside div, table and everything(right click on first game and inspect elements)thanks in advance
Danp2 Posted June 18, 2015 Posted June 18, 2015 You may want to rephrase your question I'm unsure which element you are attempting to access. Do you want to retrieve a list of all games or just a specific one? Latest Webdriver UDF Release Webdriver Wiki FAQs
Eggie6 Posted June 18, 2015 Author Posted June 18, 2015 I'm trying to get all <tr> id's which are inside <tbody> and have <table class="soccer">
Danp2 Posted June 19, 2015 Posted June 19, 2015 You should be able to do this with a combination of _IETableGetCollection and _IETagNameGetCollection. You could also take a look at this UDF, which allows you to select the desired elements using XPath. Latest Webdriver UDF Release Webdriver Wiki FAQs
Eggie6 Posted June 19, 2015 Author Posted June 19, 2015 #include <IE.au3> local $aaaa = _IECreate("http://www.flashscore.com/", 0, 1, 1) sleep(3000) Local $oTable = _IETableGetCollection($aaaa) MsgBox(1,"", $oTable)returns nothing for me
Rockerfeller Posted June 19, 2015 Posted June 19, 2015 I tried scraping that site once upon a time and decided it was easier to work with the mobile verion.http://www.flashscore.mobi/
Eggie6 Posted June 19, 2015 Author Posted June 19, 2015 (edited) YEah, but i still need live statistics, which are not available in mobi versionWOW, you solved everything right there...i've got all match links now thanks bro Edited June 19, 2015 by Eggie6
Rockerfeller Posted June 20, 2015 Posted June 20, 2015 Glad to be of assistance. There is also an alternate site almost identical here http://m.flashscores.co.uk/ main site http://www.flashscores.co.uk/
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now