Skip to content
This repository was archived by the owner on May 2, 2023. It is now read-only.

Commit fac6d44

Browse files
authored
Merge pull request #26 from codesidian/selenium-port
Selenium port
2 parents 411b732 + b941b37 commit fac6d44

10 files changed

+288
-118
lines changed

.vscode/settings.json

-3
This file was deleted.

README.md

+4-3
Original file line numberDiff line numberDiff line change
@@ -10,10 +10,11 @@ Download the code, install Python then open up a cmd and type in the following:
1010

1111
`pip install -r requirements.txt`-
1212

13-
Once done open the `account.txt` and replace corresponding lines with your account information, and `url.txt` and enter the domain your account is registered such as `https://www.missionchief.co.uk/`
13+
Once done open the `config.ini` and replace corresponding `email` and `password` with your account information, and `url` with the domain your account is registered on such as `https://www.missionchief.co.uk/`.
14+
`mission_batch_amount` is the amount of missions it will do per batch, so if it finds 100 missions. It will do the set amount.
1415

15-
Once you're done, do the following in a cmd - it will run the bot for you.
16-
`run missionchief_bot.py`
16+
Once you're done, do the following in a cmd inside the project - it will run the bot for you.
17+
`py missionchief_bot.py`
1718

1819

1920
## Issues / Bugs / Errors

account.txt

-2
This file was deleted.

config.ini

+5
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
[DEFAULT]
2+
3+
password = lol123
4+
url = https://www.missionchief.co.uk/
5+
mission_batch_amount = 2

helpers.py

+18
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,16 @@
66
"Light 4X4 Pump (L4P)",
77
"Rescue Pump"
88
},
9+
"aerial appliance trucks": {
10+
"Aerial Appliance"
11+
},
12+
"breathing apparatus support units": {
13+
"BASU"
14+
},
915

16+
"incident command and control units": {
17+
"ICCU"
18+
},
1019
# mix of uk and com vehicles
1120
"police cars": {
1221
# .co.uk
@@ -26,6 +35,10 @@
2635
"Ambulance"
2736
},
2837

38+
"fire officers": {
39+
"Fire Officer"
40+
},
41+
2942
"Misc" : {
3043
"Aerial Appliance",
3144
"Fire Officer",
@@ -42,6 +55,11 @@
4255
"Type 2 fire engine",
4356
"Quint",
4457
"Rescue Engine"
58+
},
59+
"пожарные машины": {
60+
"АЦ-3,0-40",
61+
"АЦ 2,3-40",
62+
"ПСА"
4563
}
4664

4765
}

0 commit comments

Comments
 (0)