Macros to download files from e-Housing. They are implemented in UI.Vision.
- A macro lands on a specific page.
- It traces HTML elements to locate target files or pages.
- Tweak parameters. Some of them are hard-coded.
- Run in browser.
Not the most scalable solution, these macros are still faster than pulling data by hand. It's super fast to add or change macros.
First, install UI.Vision browser extension. Chrome is most recommended. See installation, config and how-to-use instructions in official page.
Free version of UI.Vision stores user's macros inside web browser. Download the macros :
# Clone this repository
$ git clone https://github.com/tc-ying/UI.Vision-ehousing-scraper
Import .json
files under /macros
within UI.Vision extension.
I tested the Macros on Chrome version 104.0 and UI.Vision version 8.0.1.
Tweak parameters once in a while. Sometimes they could be search query parameters :
# Therefore update this monthly
{
"Command": "store",
"Target": "202209",
"Value": "myPeriod",
"Description": "Period parameter"
},
File names are also subject to change :
{
"Command": "store",
"Target": "MASS Contract (Discipline BW - Building Works).xlsx",
"Value": "myFile",
"Description": "Filename parameter"
},
{
"Command": "onDownload",
"Target": "${myFile}",
"Value": "true",
"Description": ""
},
This project is licensed under Mozilla Public License, Version 2.0. See LICENSE for full license text.
Disclaimer : Contributors have agreed to submit no sensitive information to this repository for any purpose.