Solved

Find links on a webpage


Badge

I need to search a webpage with several links, however I need all the links that have a certain word, how can I do that?

icon

Best answer by jdh 18 May 2018, 16:17

View original

2 replies

Badge +22

Look at the Help for the HTMLExtractor which gives an example of extracting all the links from a webpage and then outputing them as a list attribute.

 

 

You can then use the ListElementFilter (custom transformer) to filter the list to only contain elements that have your word.
Badge

Look at the Help for the HTMLExtractor which gives an example of extracting all the links from a webpage and then outputing them as a list attribute.

 

 

You can then use the ListElementFilter (custom transformer) to filter the list to only contain elements that have your word.
https://docs.safe.com/fme/html/FME_Desktop_Documentation/FME_Transformers/Transformers/htmlextractor.htm?

 

 

Reply