Six Stars

Extracting tables from web output

Hi, all!

There is a website with tables (tag <table></table>. How to extract table data to rows from tHttpRequest output (string)? 

Regards

  • ESB
Tags (2)
1 ACCEPTED SOLUTION

Accepted Solutions
Eleven Stars

Re: Extracting tables from web output

I've written a tutorial on this very subject. The example job is included. You might be able to download the job and configure it to your requirements

 

https://www.rilhia.com/tutorials/using-third-party-java-library-scrape-content-table-web-page

Rilhia Solutions
3 REPLIES
Six Stars

Re: Extracting tables from web output

You could try using regular expressions, however best-practice is to use a parser like JSOUP. 

I would go for the parser in combination with tLibaryLoad and tJavaFlex

-----------------------------------------------------------------------------------------------------------
When you like my answer, please accept it as solution and send some kudos
Eleven Stars

Re: Extracting tables from web output

I've written a tutorial on this very subject. The example job is included. You might be able to download the job and configure it to your requirements

 

https://www.rilhia.com/tutorials/using-third-party-java-library-scrape-content-table-web-page

Rilhia Solutions
Six Stars

Re: Extracting tables from web output

Thank you! It works!