Skip to main content

I'm very new to FME and am trying to extract some data from a webpage. The page requires a basic login. I can use httpFetcher to connect to the page but how do I then extract the table elements from the response body?

 

 

I would recommend that you use the HTTPCaller to retrieve the HTML document, it's much easier to specify authentication parameters there. You can then send the resulting HTML to the HTMLExtractor in an attribute. Example HTTPCaller setup for basic auth:

In the HTMLExtractor, get the contents from the _response_body attribute, e.g:


I would recommend that you use the HTTPCaller to retrieve the HTML document, it's much easier to specify authentication parameters there. You can then send the resulting HTML to the HTMLExtractor in an attribute. Example HTTPCaller setup for basic auth:

In the HTMLExtractor, get the contents from the _response_body attribute, e.g:

Nice explanation @david_r !!!

 


Reply