contact  |  about  |  sitemap

Get Table Content no results if Get Web Page is HTML source
Last Post 18 Mar 2010 05:21 PM by johnboy. 2 Replies.
Sort:
PrevPrev NextNext
Author Messages Not Resolved
johnboy

--
18 Mar 2010 03:15 PM
I need to retrieve table contents from several websites. For speed I strongly prefer to use the HTML source option in the [Get Web Page] action. However, the [Get Table Content] action returns no results whether I use the "table number" or "containing text" parameters. I understand that there are differences between DOM and HTML, but I used the Inspector to find the table number and the containing text is unique to the table.

FYI, the URL I am using is http://finance.yahoo.com/q?s=FWV and I am looking for the contents of table1 or the table containing "Last Trade". Both are successful with DOM, but not with HTML.

What is wrong? Thank you!

dj_test3.djs

Support Team

--
18 Mar 2010 03:34 PM Correct Answer?
We upgraded the Get Table action to work with the DOM source to make it a more reliable action. The DOM is structured so it will get table content, regardless of any table row errors by the web designer.

The old action can be found in the section depreciated and will work with the HTML source. However it's not as robust as the new action.

See the attached update of your script.
DS

dj_test3_updated.djs

johnboy

--
18 Mar 2010 05:21 PM Correct Answer?
Thank you for the help.




Quick Reply
toggle
  Username:
Subject:
Body:
Security Code:
Enter the code shown above:

Submit

Powered by Active Forums

Forum participation and optional registration

You don't need to be registered to partcipate in the Djuggler forums, however if you want to subscribe to email notifications you need to register. You can also subscribe to the forum RSS feed.