Icon

01.2_​Web-retrieving_​Nodes_​Exercise

Exercise: Retrieving text from the Web

This workflow instructs you to extract text from a web page based on its URL.

URLs Loop start Hint: Use a chunk loop Loop end Try Catch An alternative input if the GETrequest failed Session 1Exercise 1.2 - Web-retrieving nodesSummary:In this exercise we are going to extract text from a web page and implementan error handling in case of failureInstructions:1) Execute the Access URLs metanode to load a sample of KNIME blogURLs2) Access the blog posts texts with the Web Text Scraper component3) Put the component inside a try catch loop. Provide an alternative inputfrom the provided local table.4) Build a chunk loop around the try catch loop to test each URL separately Requesting for the data using theWeb Text Scraper component Extracting valid data Filter the rows without any error message Table Creator Row Filter Access URLs URLs Loop start Hint: Use a chunk loop Loop end Try Catch An alternative input if the GETrequest failed Session 1Exercise 1.2 - Web-retrieving nodesSummary:In this exercise we are going to extract text from a web page and implementan error handling in case of failureInstructions:1) Execute the Access URLs metanode to load a sample of KNIME blogURLs2) Access the blog posts texts with the Web Text Scraper component3) Put the component inside a try catch loop. Provide an alternative inputfrom the provided local table.4) Build a chunk loop around the try catch loop to test each URL separately Requesting for the data using theWeb Text Scraper component Extracting valid data Filter the rows without any error message Table Creator Row Filter Access URLs

Nodes

Extensions

Links