About dwetl

20 comments on “tHTMLInput- Parse HTML in Talend

  1. Hello there.

    Thanks a lot for this tutorial!!

    But… I don’t know hot to extract data from a website table.

    I don’t know how to search into source code, what can I use in Mapping area (Selector Code)?

    1. Hi Juan,
      Without selector it is very difficult to fetch the required details. if you dot`t know particular selector then you can directly use html tags like “p”, “span”, “div” or any other tag which you think it contains required information.

      Other wise you can use contact us page to send me secret message with website url and details which you want to extract.

      Thank You
      Dwetl team

      1. Thx you dwelt for this great component.
        It works for me. I have forgot to set the type to Object so I dont get the whole tag.

        An other question.
        How I can get the redirected links?
        Can you make a tutorial?

  2. Thank for your work ! Just a come back, I have tried some use cases and meet issue in those cases :
    – working behind proxy. I have used TSetProxy but connection doesn’t success
    – working with local file. I have used “file:///…” but connection doesn’t success. Reading Soup API, they talk about Parse method : “There is a sister method parse(File in, String charsetName) which uses the file’s location as the baseUri. This is useful if you are working on a filesystem-local site and the relative links it points to are also on the filesystem.”
    Implement the local file case will be really interesting ;))
    Regards

  3. how to call class value..?
    example:

    Hello World

    Output:democlass

    In the above code i need value of class..How can i write code for calling the value of class in tHTMLINPUT..?

    1. you can write a class in routines and then call the method in tHTMLINPUT component, if you put some example then we can suggest you better.

  4. Hi,
    I am trying to crawl HTML webpage table data’s using tHTMLInput component with particular tag attributes. Here If empty row data availed into table, Then Its repeating all column data again into that empty row. Below Job sample I am trying.

    tHTMLInput > tMap > tFileOutputDelimited

    Exact Question : How can I avoid empty tag attribute values after crawled data?

  5. Hi,
    I am trying to crawl HTML webpage table data’s using tHTMLInput component with particular tag attributes. Here If empty row data availed into table, Then Its repeating all column data again into that empty row. Below Job sample I am trying.
    tHTMLInput > tMap > tFileOutputDelimited
    Exact Question : How can I avoid empty tag attribute values after crawled data?

    1. Can you put more details like your source data and then output you get, i want to reproduce it, i can assist better.

Leave a Reply to Juan Cancel reply

Your email address will not be published. Required fields are marked *