Jump to content
Sign in to follow this  
Eggie6

getting tr id from website elements

Recommended Posts

Eggie6

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

Share this post


Link to post
Share on other sites
Danp2

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?

Share this post


Link to post
Share on other sites
Eggie6

I'm trying to get all <tr> id's which are inside <tbody> and have <table class="soccer">

Share this post


Link to post
Share on other sites
Danp2

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.

Share this post


Link to post
Share on other sites
Rockerfeller

I tried scraping that site once upon a time and decided it was easier to work with the mobile verion.

http://www.flashscore.mobi/

Share this post


Link to post
Share on other sites
Eggie6

YEah, but i still need live statistics, which are not available in mobi version

WOW, you solved everything right there...

i've got all match links now :) thanks bro

Edited by Eggie6

Share this post


Link to post
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×