This scenario covers downloading Councillor information from Modern.gov but the same process can be applied for MPs.
Download curl (v7.66.0) for Windows 64-bit from to D:\Astun\Tools
If you cannot find a copy of curl v7.66.0 then your Astun Consultant can supply this for you. Please do not download v7.83.1 as this does not currently work. |
Create a Workflow Program Task
Name - Enter a unique name for your task e.g. Download ModernGov Councillors using curl
Program - Use the browse button to browse to where you installed curl e.g. D:\Astun\Tools\curl\bin\curl.exe
Additional Parameters - You need to include Additional parameters along the lines of the following where d:\astun\downloads\moderngov.xml is where the .xml will be created and https://yourcouncil.moderngov.co.uk/mgRss.aspx?f=22 should be your existing URL to Modern.gov
-s -k -o d:\astun\downloads\moderngov.xml https://yourcouncil.moderngov.co.uk/mgRss.aspx?f=22 |
curl is specified as [options / URLs] and above we are using the following options:
-s to run curl in silent mod
-k to allow insecure server connections when using SSL