https://github.com/sloppycoder/alltran
https://github.com/sloppycoder/alltran
chrome golang
Last synced: 18 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/sloppycoder/alltran
- Owner: sloppycoder
- Created: 2018-10-19T06:32:11.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2019-08-29T07:28:14.000Z (almost 7 years ago)
- Last Synced: 2025-01-11T08:14:14.336Z (over 1 year ago)
- Topics: chrome, golang
- Language: Go
- Size: 43.9 KB
- Stars: 0
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
## Download 3DS transaction from Arcot admin site
### TL;DR
Make sure Chrome browser is installed.
Ceate a .env file to store URL, username and password
```
ARCOT_URL=https://secure5.arcot.com/vpas/admin/
ARCOT_URL=https://preview5.arcot.com/vpas/admin/
ARCOT_USERNAME=scb3ds_global2
ARCOT_PASSWORD=yahoo1234!
```
Then
```
# download last 30 minutes transaction from preview site
./alltran
# display all command line options
./alltran -h
```
### Build
This program is written using [Go programming language](http://golang.org). It uses the new [chromedp](https://github.com/chromedp/chromedp) driver. No JRE, Selenium or chrome driver required.
```
go get
# build binary for your OS
go build
# for Windows binary, set 2 environment variables, bash example below
GOOS=windows GOBARCH=amd64 go build
```
## Don't have a Linux machine to test?
Spin a CentOS 7 VM with Chrome by running ```vagrant up```