Skip to content
This repository has been archived by the owner on Apr 24, 2024. It is now read-only.

Commit

Permalink
feat(readme): update
Browse files Browse the repository at this point in the history
  • Loading branch information
IMXEren committed Mar 5, 2024
1 parent 54fe2f5 commit dc53967
Showing 1 changed file with 29 additions and 15 deletions.
44 changes: 29 additions & 15 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,18 +11,32 @@ Follow the setup below to use in Termux and Termux: Tasker -
3. Grant permission to Tasker to run commands in Termux environment.
4. Open Termux and run these commands: (with description)

```bash
termux-setup-storage ## Allowing access to /storage/emulated/0 (or /sdcard)
yes | pkg up -y ## Upgrade existing packages
yes | pkg install -y tur-repo x11-repo ## Adding additional repos to extend package list
yes | pkg install -y chromium ## Installing chromium browser with chromedriver

## Set `allow-external-apps` to true
curl -s https://raw.githubusercontent.com/IMXEren/automation/main/scripts/allow_external_apps.sh | bash

## Download & setup zip package
## TODO

## Running the executable
## TODO
```
```bash
termux-setup-storage ## Allowing access to /storage/emulated/0 (or /sdcard)
yes | pkg up -y ## Upgrade existing packages
yes | pkg install -y tur-repo x11-repo ## Adding additional repos to extend package list
yes | pkg install -y chromium ## Installing chromium browser with chromedriver

## Set `allow-external-apps` to true
curl -s https://raw.githubusercontent.com/IMXEren/automation/main/scripts/allow_external_apps.sh | bash

## Download & setup zip package
mkdir -p ~/competition-groups && cd ~/competition-groups && arch=arm64 && curl -L -o "cgroups-${arch}.zip" "https://github.com/IMXEren/competition-groups/releases/download/Assets/cgroups-${arch}.zip" && unzip -o -d . cgroups-${arch}.zip && chmod 744 ./compgroups

## Running the executable
cd ~/competition-groups
WCA_USER="user" \ ## user id or email
WCA_PASS="pass" \ ## password
./compgroups

## Output
Login Successful
Time elapsed: 43.679098574s
Done...
## Anything other than them concludes to the error.
## On success, it should create a competitions.json which has the scraped data.
```

## Credits

**[HunterXProgrammer@MdTestV5](https://github.com/HunterXProgrammer/Tasker-MdtestV5)**

0 comments on commit dc53967

Please sign in to comment.