Scraping NEMS Prices
This repo is created to scrape SG NEMS data for reporting date. Sometimes, UIPath fails so we go Old School.
Steps (GoLang):
-
Change Date in Parameters.JSON
-
in powershell, input the following command
./main.exe
Steps (Python):
- $pip install -r requirements.txt
- Alter Parameters.json to desired date. Set the following:
- "fromDate"
- "toDate"
- "filepath"
- $python TPCScrape.py
Dependencies:
- Python 3.11. Probably works for earlier version. Not tested for anything outside of 3.11
TODO:
- Containerisation
- Implement test cases (PRIORITY !!!)
- CI/CD
Version History: v0.2.1: Added ChromeDriverUpdate.go to update Chromedriver v0.1.1: TPC Scraping with GoLang. ChromeDriver preinstalled.