Scraping a list vs individual text
Scraping a list of values vs using scrape text to copy text values into your automation.
This article discusses the use of Scrape List
during recording to copy entire lists of values into your automation.
Scraping a List of Values
If you're automating a task that involves copying a list of values, you may find the Scrape List
feature in TaskMagic helpful. This feature allows you to quickly extract a list of values from a webpage or application and copy them into your automation. To do this first click Add New Automation
¹
Then click Capture Steps
¹
Once recording starts navigate to a website you wish to Scrape: List
¹ from. For this example we’ll use the TaskMagic search page. Once you’ve click Scrape: List
¹ on the bottom left of the Recording Bar you’ll get a selector. You’ve entered ‘select mode’ you should select the first two item in a list, in this case we click on the two first icons
¹ on the page. We can also Scrape: Text
² like where the arrow is pointing to “this browser window will capture your steps
² ”. We’ll talk more about Scrape: Text
² in a bit.
Next because I clicked Scrape: List
¹ and selected both Notion
¹ and sheets
¹. You’ll see a popup that says text
² or URL
. I’ll explain a bit more down below. We also see a Scraped data
⁴ popup. Here you can see the data you’ve scraped, you can also choose from scraping the list of text
² or URL’s
³.
The difference between scraping a Text
² and scraping URL
³. Besides one redirecting me to a website and one being plain text, is that Text
² is just a simple piece of Text
² you want to copy or paste or just scrape. Scraping a URL
³ is so you can get the link of whatever is in the list. for example, instead of scraping a list of usernames you could scrape the link to their profile if its available. we only prompt you if we found a URL
³ you could scrape.
Don’t see this?
Scrape: Text. What does it do!
Here you will learn how to Scrape text
¹ to extract a value to put into your automation. Once your Automation Recording
opens, you can find the Scrape Text
¹ button on the toolbar at the bottom of the screen.
Click the highlighted Scrape Text
button and select text
¹ you wish to copy. In this example, we’re going to scrape the ”this browser window will capture your steps
² ”.
Once you’ve Scrape Text
¹ the green box above, you’ll notice below it registered a click and then the Scrape Text
¹ value.
The information you scraped will be stored in the Google Sheet
¹ you linked. Because it was one element, it’ll look like this.
As you can see, we can do plenty with Scrape list
¹ from scraping names, usernames, prices, etc. all the way to the actual URL
² of the page. The Scrape text
³ is the tool we’ll use to copy and pase certain items and its also useful for scraping one specific element.
As you can see, we have the Scrape: List Text
¹ scraping the actual text of the list names and the Scrape: List URL
² is the one in charge of giving us the URL
² page. With theScrape text
³ tool you can easily select and extract text values to use in your automation.