{"id":"547","content":"
URL Macros are short pieces of programming codes used to automate performing specific tasks with URLs. When\r\n specifying the starting URL of the web content you want to download, Macros are used to avoid repetitive\r\n actions.<\/p>Example:<\/b>\r\n\r\n
If a weather website is updated daily, the date in the URL will change every day as follows:<\/p>\r\n\r\n
http:\/\/www.weather.com\/image5.htm corresponds to the 5th day of the current month, whereas<\/p>\r\n\r\n
http:\/\/www.weather.com\/image12.htm corresponds to the 12th day of the current month.<\/p>\r\n\r\n
To download websites on a daily basis, you can replace the changing part of the URL with the Macro {:day} instead of\r\n specifying several URLs.<\/p>\r\n\r\n
http:\/\/www.weather.com\/day{:day}.htm<\/p>\r\n\r\n
When Offline Explorer Pro starts downloading, it substitutes the URL Macro with its value and generates separate URLs\r\n for every day of the month.<\/p>Example:<\/b>\r\n\r\n
If a website contains 100 pictures, then picture number in the URL will change as follows:<\/p>\r\n\r\n
http:\/\/www.test.com\/1.jpg contains picture number 1, whereas<\/p>\r\n\r\n
http:\/\/www.test.com\/100.jpg contains picture number 100.<\/p>\r\n\r\n
To download all 100 pictures from the website without having to manually separate URLs for all of the pictures, you\r\n can replace the changing part of the URL with {:1..100} Macro.<\/p>\r\n\r\n
www.test.com\/{:1..100}.jpg<\/p>\r\n\r\n
Offline Explorer Pro substitutes the URL Macro with its value and generates separates URLs for all 100 pictures.<\/p>\r\n\r\n