Skip to main content
Solved

Find links on a webpage


Forum|alt.badge.img

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?

Best answer by jdh

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.
View original
Did this help you find an answer to your question?

2 replies

jdh
Contributor
Forum|alt.badge.img+28
  • Contributor
  • Best Answer
  • May 18, 2018

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.

Forum|alt.badge.img
jdh wrote:

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


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