One Star

[resolved] jsoup

Hello, I want to make the parser a html pages with jsoup. But when I send running, jsoup not be solved.
Example:
tJava component -> code -> Document doc = Jsoup.connect("www.google.it").get();
2 REPLIES
Community Manager

Re: [resolved] jsoup

Hi
You need to import external jar with tLibraryLoad before using Jsoup to parse HTML page, refer to online user manual:
https://help.talend.com/search/all?query=tLibraryLoad&content-lang=en
and then, add the full package path to the class name.
Document doc = the full package path.Jsoup.connect("www.google.it").get();
Shong
----------------------------------------------------------
Talend | Data Agility for Modern Business
One Star

Re: [resolved] jsoup

thank you very much