Skip to main content
Solved

FeatureReader HTML Table with authentification

  • September 22, 2017
  • 2 replies
  • 9 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.

This post is closed to further activity.
It may be an old question, an answered question, an implemented idea, or a notification-only post.
Please check post dates before relying on any information in a question or answer.
For follow-up or related questions, please post a new question or idea.
If there is a genuine update to be made, please contact us and request that the post is reopened.

2 replies

takashi
Celebrity
  • 7843 replies
  • 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
  • 16 replies
  • 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.

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

 

and thanks also for your quick reactivity !