Posted at by admin under: Files & Folders Surf the Web Text manipulation & Text Files Using Loops Variables

Problem:

I want to download a list of webpages without opening any browsers and save their contents in a date-stamped Folder

Solution:

Discussion:

To start with, we create a list of all the websites we want to visit, and save them in a txt file. We then continue by getting the current date and time, and convert it to text using a format that we can use to name a folder after, and then, using the "For Each" action, we run a number of actions for each website on that list. We first run the "Download from Web" action, which we configure to use the %CurrentSite% each time, and download the page, saving it in the %WebPageText% variable. We then use the "Write Text to File" action, to save the content of the website in a file named after the current date as well as the name of the page the content was retrieved from.

Minimum WinAutomation version required: 3.1

Attachments

Leave your comment

Copyright 2013 - Softomotive Ltd