Added a processbar

This commit is contained in:
2023-01-12 15:34:20 +01:00
parent deb3d75f70
commit 1781f35645
5 changed files with 87 additions and 11 deletions

View File

@ -1,6 +1,8 @@
A free to use update tool which checks phish.sinking.yachts database.
It adds all domains found after custom domains are added. If not needed they can be commented or removed.
**added a processbar**
The following code is needed in a .env. This is for the DB connection.
```text
@ -13,20 +15,22 @@ DB_PASS=
This is based on the phish table. Table can also be changed if needed.
Execution time is *1h23m35.23654842s*. This was for **18855 records**.
Execution time is *1h26m19.334785368s*. This was for **18876 records**.
Sample output with provided code:
```text
Script started at 11-01-2023 10:11:17
Deletion: Number of rows affected: 2
Script started at 12-01-2023 13:49:59
Deletion: Number of rows affected: 59
Altering: Number of rows affected: 0
Insert: Number of rows affected: 1
Insert: Number of rows affected: 1
11-01-2023 10:11:18: Initial database table setup done
Status code dbsize endpoint: 200
12-01-2023 13:50:00: Initial database table setup done
Status code: 200
Total number of rows affected: 18855
18876 / 18876 [---------------------------------------------------------------------------------------------------------------------------------------------------------------------------->] 100%
Total number of rows affected: 18876
Recent changes recieved and has been added to the database. Removed domains deleted from database. Reorded domains.
Script ended at 11-01-2023 11:34:52
Time until completion: 1h23m35.23654842s
Script ended at 12-01-2023 15:16:19
Time until completion: 1h26m19.334785368s
```