Skip to main content
Solved

FeatureReader HTML Table with authentification

  • September 22, 2017
  • 2 replies
  • 6 views

nmatton
Contributor
Forum|alt.badge.img+4

Hi folks !

I want to read HTTP tables for a bunch of url stored on an attribute of my features. However, a basic authentification is needed to access the page.

If I set the attribute containing the URL in the source dataset of the feature reader, I cant set any authentification parameters.

Everything is working fine if I manually enter one url, then go to the parameters. (as if I use a Reader)

Any clue on how to use this authentification in the FeatureReader ?

Best answer by takashi

Hi @nmatton, how about using the TempPathnameCreator and the HTTPCaller to download and save the HTML document into temporary file? You can always set authentication parameters in the HTTPCaller. Then, you can use the FeatureReader to read the temporary HTML file without authentication.

View original
Did this help you find an answer to your question?

2 replies

takashi
Contributor
Forum|alt.badge.img+19
  • Contributor
  • Best Answer
  • September 22, 2017

Hi @nmatton, how about using the TempPathnameCreator and the HTTPCaller to download and save the HTML document into temporary file? You can always set authentication parameters in the HTTPCaller. Then, you can use the FeatureReader to read the temporary HTML file without authentication.


nmatton
Contributor
Forum|alt.badge.img+4
  • Author
  • Contributor
  • September 22, 2017
takashi wrote:

Hi @nmatton, how about using the TempPathnameCreator and the HTTPCaller to download and save the HTML document into temporary file? You can always set authentication parameters in the HTTPCaller. Then, you can use the FeatureReader to read the temporary HTML file without authentication.

Yeah, perfect solution ! Thank you ! I've not even start to think a solution like this !

 

and thanks also for your quick reactivity !

 

 


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings