powerdlz23 1.1.5 → 1.1.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/Zefoy-Automation/.github/ISSUE_TEMPLATE/feature_request.md +20 -0
- package/Zefoy-Automation/README.md +134 -0
- package/Zefoy-Automation/captcha.png +0 -0
- package/Zefoy-Automation/donation-userlist.md +7 -0
- package/Zefoy-Automation/main.py +257 -0
- package/Zefoy-Automation/output/Zefoy Automation for Windows.exe +0 -0
- package/Zefoy-Automation/requirements.txt +5 -0
- package/Zefoy-Automation/src/captcha.png +0 -0
- package/Zefoy-Automation/src/process.py +269 -0
- package/package.json +1 -1
- package/polymer/polymer-template/.env.example +27 -0
- package/polymer/polymer-template/.gitmodules +6 -0
- package/polymer/polymer-template/.gitpod.yml +10 -0
- package/polymer/polymer-template/Justfile +97 -0
- package/polymer/polymer-template/README.md +312 -0
- package/polymer/polymer-template/config/alt-config.json +42 -0
- package/polymer/polymer-template/config.json +42 -0
- package/polymer/polymer-template/contracts/XCounter.sol +89 -0
- package/polymer/polymer-template/contracts/XCounterUC.sol +100 -0
- package/polymer/polymer-template/contracts/arguments.js +7 -0
- package/polymer/polymer-template/contracts/base/CustomChanIbcApp.sol +205 -0
- package/polymer/polymer-template/contracts/base/GeneralMiddleware.sol +200 -0
- package/polymer/polymer-template/contracts/base/UniversalChanIbcApp.sol +93 -0
- package/polymer/polymer-template/foundry.toml +6 -0
- package/polymer/polymer-template/hardhat.config.js +66 -0
- package/polymer/polymer-template/ibc.json +26 -0
- package/polymer/polymer-template/img/gh_template.png +0 -0
- package/polymer/polymer-template/package-lock.json +7672 -0
- package/polymer/polymer-template/package.json +34 -0
- package/polymer/polymer-template/remappings.txt +5 -0
- package/polymer/polymer-template/scripts/deploy.js +51 -0
- package/polymer/polymer-template/scripts/private/_create-channel-config.js +62 -0
- package/polymer/polymer-template/scripts/private/_create-channel.js +96 -0
- package/polymer/polymer-template/scripts/private/_deploy-config.js +62 -0
- package/polymer/polymer-template/scripts/private/_events.js +241 -0
- package/polymer/polymer-template/scripts/private/_helpers.js +113 -0
- package/polymer/polymer-template/scripts/private/_sanity-check-custom.js +69 -0
- package/polymer/polymer-template/scripts/private/_sanity-check-universal.js +120 -0
- package/polymer/polymer-template/scripts/private/_sanity-check.js +21 -0
- package/polymer/polymer-template/scripts/private/_send-packet-config.js +53 -0
- package/polymer/polymer-template/scripts/private/_set-contracts-config.js +50 -0
- package/polymer/polymer-template/scripts/private/_switch-clients.js +90 -0
- package/polymer/polymer-template/scripts/private/_update-vibc-address.js +52 -0
- package/polymer/polymer-template/scripts/private/_vibc-helpers.js +118 -0
- package/polymer/polymer-template/scripts/send-packet.js +38 -0
- package/polymer/polymer-template/scripts/send-universal-packet.js +44 -0
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: Feature request
|
|
3
|
+
about: Suggest an idea for this project
|
|
4
|
+
title: ''
|
|
5
|
+
labels: ''
|
|
6
|
+
assignees: ''
|
|
7
|
+
|
|
8
|
+
---
|
|
9
|
+
|
|
10
|
+
**Is your feature request related to a problem? Please describe.**
|
|
11
|
+
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]
|
|
12
|
+
|
|
13
|
+
**Describe the solution you'd like**
|
|
14
|
+
A clear and concise description of what you want to happen.
|
|
15
|
+
|
|
16
|
+
**Describe alternatives you've considered**
|
|
17
|
+
A clear and concise description of any alternative solutions or features you've considered.
|
|
18
|
+
|
|
19
|
+
**Additional context**
|
|
20
|
+
Add any other context or screenshots about the feature request here.
|
|
@@ -0,0 +1,134 @@
|
|
|
1
|
+
# TikViews - Zefoy Automation
|
|
2
|
+
> 📢 Announcement | Last Update 24-09-2023 | For Donation User 📢
|
|
3
|
+
|
|
4
|
+
> This script may no longer be supported on the latest version of zefoy website 2023. We have made a new update version in September now with new update everything is working fine . but if you want the latest updates, you can donate to me directly by contacting via [My Telegram](https://t.me/Sandroputraaa)
|
|
5
|
+
>
|
|
6
|
+
> We provide 2 package, Basic and Professional :
|
|
7
|
+
>
|
|
8
|
+
> - Basic will get ( exe ) Windows encrypted software [ Price ( 30$ ) ]
|
|
9
|
+
>
|
|
10
|
+
> - Professional will get Full source code non enc [ Price is ( 100$ ) Free update 2 month ]
|
|
11
|
+
>
|
|
12
|
+
> Donation User List : [Donation User List](https://github.com/sandrocods/Zefoy-Automation/blob/master/donation-userlist.md)
|
|
13
|
+
>
|
|
14
|
+
> Demo Video of New Upadated :
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
|
|
18
|
+
https://github.com/sandrocods/Zefoy-Automation/assets/59155826/3fccdb62-fab9-4293-beda-631c465c4fa3
|
|
19
|
+
|
|
20
|
+
#### Hearts Enabled Trick
|
|
21
|
+

|
|
22
|
+
|
|
23
|
+
|
|
24
|
+
|
|
25
|
+
### Feature Donation User
|
|
26
|
+
|
|
27
|
+
| Name | Status |
|
|
28
|
+
|---------------------------------------------|------------------|
|
|
29
|
+
| Proxy Support | ✅ |
|
|
30
|
+
| Auto Bypass Captcha | ✅ |
|
|
31
|
+
| Auto Bypass CloudFlare ( New Updates ) | ✅ |
|
|
32
|
+
| Full Http Request ( Selenium for bypass CloudFlare ) | ✅ |
|
|
33
|
+
| Detect status of services | ✅ |
|
|
34
|
+
|
|
35
|
+
|
|
36
|
+
|
|
37
|
+
# Old Version - Not Working again ❌
|
|
38
|
+
|
|
39
|
+
|
|
40
|
+
Automation does not require Selenium or any other browser to be interface with Zefoy Web, it does so directly using a Full Request API. Not running Selenium or Chromium saves you ram :D
|
|
41
|
+
|
|
42
|
+
|
|
43
|
+
https://user-images.githubusercontent.com/59155826/202221379-19774c47-fae0-4882-a949-9badfbdbce89.mp4
|
|
44
|
+
|
|
45
|
+
|
|
46
|
+
|
|
47
|
+
## Feature
|
|
48
|
+
|
|
49
|
+
| Name | Status |
|
|
50
|
+
|---------------------------------------------|-----------------|
|
|
51
|
+
| Auto Bypass Captcha | ✅ |
|
|
52
|
+
| No Selenium / puppeteer | ✅ |
|
|
53
|
+
| Add New Services Shares , Hearts & Favorite | ✅ |
|
|
54
|
+
| Detect status of services | ✅ |
|
|
55
|
+
| Google Ads bypassed | ✅ |
|
|
56
|
+
| Windows exe added | Needs Update |
|
|
57
|
+
| Followers and Comments hearts | Coming Soon 🚀 |
|
|
58
|
+
|
|
59
|
+
|
|
60
|
+
## Run Locally
|
|
61
|
+
|
|
62
|
+
Clone the project
|
|
63
|
+
|
|
64
|
+
```bash
|
|
65
|
+
git clone https://github.com/sandrocods/Zefoy-Automation
|
|
66
|
+
```
|
|
67
|
+
|
|
68
|
+
Go to the project directory
|
|
69
|
+
|
|
70
|
+
```bash
|
|
71
|
+
cd Zefoy-Automation
|
|
72
|
+
```
|
|
73
|
+
|
|
74
|
+
Install dependencies
|
|
75
|
+
|
|
76
|
+
```bash
|
|
77
|
+
pip3 install -r requirements.txt
|
|
78
|
+
```
|
|
79
|
+
|
|
80
|
+
Start the bot
|
|
81
|
+
|
|
82
|
+
```bash
|
|
83
|
+
python3 main.py
|
|
84
|
+
```
|
|
85
|
+
|
|
86
|
+
## Update from previous version
|
|
87
|
+
|
|
88
|
+
Pull the latest version
|
|
89
|
+
|
|
90
|
+
```bash
|
|
91
|
+
git pull
|
|
92
|
+
```
|
|
93
|
+
|
|
94
|
+
Install new dependencies
|
|
95
|
+
|
|
96
|
+
``` bash
|
|
97
|
+
pip3 install -r requirements.txt
|
|
98
|
+
```
|
|
99
|
+
|
|
100
|
+
Run the bot
|
|
101
|
+
|
|
102
|
+
```bash
|
|
103
|
+
python3 main.py
|
|
104
|
+
```
|
|
105
|
+
|
|
106
|
+
## For Windows Users
|
|
107
|
+
for windows users you can use the exe file in the output folder
|
|
108
|
+
|
|
109
|
+
Download the exe file from [here](https://github.com/sandrocods/Zefoy-Automation/blob/master/output/Zefoy%20Automation%20for%20Windows.exe)
|
|
110
|
+
|
|
111
|
+
|
|
112
|
+
## Screenshots
|
|
113
|
+
|
|
114
|
+
##### New Update show status of services
|
|
115
|
+

|
|
116
|
+
|
|
117
|
+
##### Windows exe file
|
|
118
|
+

|
|
119
|
+
|
|
120
|
+
##### Running Bot
|
|
121
|
+

|
|
122
|
+
|
|
123
|
+
##### Result
|
|
124
|
+

|
|
125
|
+
|
|
126
|
+

|
|
127
|
+
|
|
128
|
+
## Donation User
|
|
129
|
+
|
|
130
|
+
[Donation User List](https://raw.githubusercontent.com/sandrocods/Zefoy-Automation/master/donation-userlist.md)
|
|
131
|
+
|
|
132
|
+
|
|
133
|
+
|
|
134
|
+
|
|
Binary file
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
# Donation User List 🍟
|
|
2
|
+
<img src="https://github.com/sandrocods/Zefoy-Automation/assets/59155826/84dc8d52-41d8-42b0-97c1-f58600ad8cf6" width="300" height="300" />
|
|
3
|
+
<img src="https://github.com/sandrocods/Zefoy-Automation/assets/59155826/a253b648-a870-40c8-9197-1a70feef6228" width="300" height="300" />
|
|
4
|
+
<img src="https://github.com/sandrocods/Zefoy-Automation/assets/59155826/0e3b998f-bcea-43e9-a2f6-d7904d20630e" width="300" height="300" />
|
|
5
|
+
<img src="https://github.com/sandrocods/Zefoy-Automation/assets/59155826/4289d750-a08f-4727-a814-0d098098919f" width="300" height="300" />
|
|
6
|
+
<img src="https://github.com/sandrocods/Zefoy-Automation/assets/59155826/727d300d-2ce9-494d-8943-5168442c66ff" width="300" height="300" />
|
|
7
|
+
<img src="https://github.com/sandrocods/Zefoy-Automation/assets/59155826/653f8628-dde0-480a-97d1-5a5cf4c0157e" width="300" height="300" />
|
|
@@ -0,0 +1,257 @@
|
|
|
1
|
+
import datetime
|
|
2
|
+
import random
|
|
3
|
+
import time
|
|
4
|
+
import inquirer
|
|
5
|
+
from colorama import init, Fore
|
|
6
|
+
from src import process
|
|
7
|
+
from prettytable import PrettyTable
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
def main():
|
|
11
|
+
init(autoreset=True)
|
|
12
|
+
inject = process.ZefoyViews()
|
|
13
|
+
inject.get_session_captcha()
|
|
14
|
+
|
|
15
|
+
print(Fore.GREEN + """
|
|
16
|
+
_____ _ _ __ ___
|
|
17
|
+
|_ _(_) |_\ \ / (_)_____ __ _____
|
|
18
|
+
| | | | / /\ V /| / -_) V V (_-<
|
|
19
|
+
|_| |_|_\_\ \_/ |_\___|\_/\_//__/
|
|
20
|
+
make with ❤️️ by @sandroputraa
|
|
21
|
+
""")
|
|
22
|
+
print(Fore.LIGHTYELLOW_EX + "Example: https://www.tiktok.com/@awokwokwokwkokwow/video/6865609642974743810")
|
|
23
|
+
url_video = input("Enter URL Video: ")
|
|
24
|
+
if url_video == "":
|
|
25
|
+
url_video = "https://www.tiktok.com/@awokwokwokwkokwow/video/6865609642974743810"
|
|
26
|
+
time.sleep(1)
|
|
27
|
+
|
|
28
|
+
if inject.post_solve_captcha(captcha_result=inject.captcha_solver()):
|
|
29
|
+
|
|
30
|
+
print("\n[ " + str(datetime.datetime.now()) + " ] " + Fore.LIGHTGREEN_EX + "Success Solve Captcha" + "\n")
|
|
31
|
+
|
|
32
|
+
table = PrettyTable(field_names=["Services", "Status"], title="Status Services", header_style="upper",
|
|
33
|
+
border=True)
|
|
34
|
+
status_services = inject.get_status_services()
|
|
35
|
+
if not status_services: print("Failed to get status services, try again later"); exit()
|
|
36
|
+
|
|
37
|
+
valid_services = []
|
|
38
|
+
for service in status_services:
|
|
39
|
+
if service['name'] == 'Followers' or service['name'] == 'Comments Hearts':
|
|
40
|
+
continue
|
|
41
|
+
elif 'ago updated' in service['status']:
|
|
42
|
+
valid_services.append(service['name'])
|
|
43
|
+
|
|
44
|
+
table.add_row([service['name'], Fore.GREEN + service['status'] + Fore.RESET if 'ago updated' in service[
|
|
45
|
+
'status'] else Fore.RED + service['status'] + Fore.RESET])
|
|
46
|
+
|
|
47
|
+
table.title = Fore.YELLOW + " Total Online Services: " + str(len(valid_services)) + Fore.RESET
|
|
48
|
+
print(table)
|
|
49
|
+
|
|
50
|
+
questions = [
|
|
51
|
+
inquirer.List('type', message="What services do you need?", choices=valid_services, carousel=True, ), ]
|
|
52
|
+
answers = inquirer.prompt(questions)
|
|
53
|
+
|
|
54
|
+
while True:
|
|
55
|
+
|
|
56
|
+
try:
|
|
57
|
+
|
|
58
|
+
if answers['type'] == 'Views':
|
|
59
|
+
|
|
60
|
+
while True:
|
|
61
|
+
inject_views = inject.send_multi_services(url_video=url_video, services=answers['type'], )
|
|
62
|
+
|
|
63
|
+
if inject_views:
|
|
64
|
+
|
|
65
|
+
if inject_views['message'] == "Please try again later":
|
|
66
|
+
print("[ " + str(datetime.datetime.now()) + " ] " + Fore.LIGHTRED_EX + inject_views[
|
|
67
|
+
'message'])
|
|
68
|
+
exit()
|
|
69
|
+
|
|
70
|
+
elif inject_views['message'] == 'Another State':
|
|
71
|
+
print("[ " + str(
|
|
72
|
+
datetime.datetime.now()) + " ] " + Fore.LIGHTGREEN_EX + "Current Views: " +
|
|
73
|
+
inject_views['data'], end="\r")
|
|
74
|
+
|
|
75
|
+
|
|
76
|
+
elif inject_views['message'] == "Successfully views sent.":
|
|
77
|
+
print("[ " + str(datetime.datetime.now()) + " ] " + Fore.LIGHTGREEN_EX + inject_views[
|
|
78
|
+
'message'] + " to " + Fore.LIGHTYELLOW_EX + "" + url_video + ", " + Fore.LIGHTGREEN_EX + "Current Views: " +
|
|
79
|
+
inject_views['data'], end="\n\n")
|
|
80
|
+
print()
|
|
81
|
+
|
|
82
|
+
elif inject_views['message'] == "Session Expired. Please Re Login!":
|
|
83
|
+
print("[ " + str(datetime.datetime.now()) + " ] " + Fore.LIGHTRED_EX + inject_views[
|
|
84
|
+
'message'])
|
|
85
|
+
exit()
|
|
86
|
+
|
|
87
|
+
elif inject_views['message'] == "Video not found.":
|
|
88
|
+
print("[ " + str(datetime.datetime.now()) + " ] " + Fore.LIGHTRED_EX + inject_views[
|
|
89
|
+
'message'])
|
|
90
|
+
exit()
|
|
91
|
+
|
|
92
|
+
else:
|
|
93
|
+
for i in range(int(inject_views['message']), 0, -1):
|
|
94
|
+
print("[ " + str(
|
|
95
|
+
datetime.datetime.now()) + " ] " + Fore.LIGHTYELLOW_EX + "Please wait " + str(
|
|
96
|
+
i) + " seconds to send views again.", end="\r")
|
|
97
|
+
time.sleep(1)
|
|
98
|
+
|
|
99
|
+
time.sleep(random.randint(1, 5))
|
|
100
|
+
|
|
101
|
+
else:
|
|
102
|
+
pass
|
|
103
|
+
|
|
104
|
+
elif answers['type'] == 'Shares':
|
|
105
|
+
|
|
106
|
+
while True:
|
|
107
|
+
inject_shares = inject.send_multi_services(url_video=url_video, services=answers['type'], )
|
|
108
|
+
|
|
109
|
+
if inject_shares:
|
|
110
|
+
|
|
111
|
+
if inject_shares['message'] == "Please try again later":
|
|
112
|
+
print("[ " + str(datetime.datetime.now()) + " ] " + Fore.LIGHTRED_EX + inject_shares[
|
|
113
|
+
'message'])
|
|
114
|
+
exit()
|
|
115
|
+
|
|
116
|
+
elif inject_shares['message'] == 'Another State':
|
|
117
|
+
print("[ " + str(
|
|
118
|
+
datetime.datetime.now()) + " ] " + Fore.LIGHTGREEN_EX + "Current Shares : " +
|
|
119
|
+
inject_shares['data'], end="\n\n")
|
|
120
|
+
print()
|
|
121
|
+
|
|
122
|
+
|
|
123
|
+
elif inject_shares['message'] == "Shares successfully sent.":
|
|
124
|
+
print("[ " + str(datetime.datetime.now()) + " ] " + Fore.LIGHTGREEN_EX + inject_shares[
|
|
125
|
+
'message'] + " to " + Fore.LIGHTYELLOW_EX + "" + Fore.LIGHTGREEN_EX + "Current Shares: " +
|
|
126
|
+
inject_shares['data'], end="\r")
|
|
127
|
+
|
|
128
|
+
|
|
129
|
+
elif inject_shares['message'] == "Session Expired. Please Re Login!":
|
|
130
|
+
print("[ " + str(datetime.datetime.now()) + " ] " + Fore.LIGHTRED_EX + inject_shares[
|
|
131
|
+
'message'])
|
|
132
|
+
exit()
|
|
133
|
+
|
|
134
|
+
elif inject_shares['message'] == "Video not found.":
|
|
135
|
+
print("[ " + str(datetime.datetime.now()) + " ] " + Fore.LIGHTRED_EX + inject_shares[
|
|
136
|
+
'message'])
|
|
137
|
+
exit()
|
|
138
|
+
|
|
139
|
+
else:
|
|
140
|
+
for i in range(int(inject_shares['message']), 0, -1):
|
|
141
|
+
print("[ " + str(
|
|
142
|
+
datetime.datetime.now()) + " ] " + Fore.LIGHTYELLOW_EX + "Please wait " + str(
|
|
143
|
+
i) + " seconds to send Shares again.", end="\r")
|
|
144
|
+
time.sleep(1)
|
|
145
|
+
|
|
146
|
+
time.sleep(random.randint(1, 5))
|
|
147
|
+
|
|
148
|
+
else:
|
|
149
|
+
pass
|
|
150
|
+
|
|
151
|
+
elif answers['type'] == 'Favorites':
|
|
152
|
+
|
|
153
|
+
while True:
|
|
154
|
+
inject_favorites = inject.send_multi_services(url_video=url_video, services=answers['type'], )
|
|
155
|
+
|
|
156
|
+
if inject_favorites:
|
|
157
|
+
|
|
158
|
+
if inject_favorites['message'] == "Please try again later":
|
|
159
|
+
print("[ " + str(datetime.datetime.now()) + " ] " + Fore.LIGHTRED_EX + inject_favorites[
|
|
160
|
+
'message'])
|
|
161
|
+
exit()
|
|
162
|
+
|
|
163
|
+
elif inject_favorites['message'] == 'Another State':
|
|
164
|
+
print("[ " + str(
|
|
165
|
+
datetime.datetime.now()) + " ] " + Fore.LIGHTGREEN_EX + "Current Favorites : " +
|
|
166
|
+
inject_favorites['data'], end="\r")
|
|
167
|
+
|
|
168
|
+
|
|
169
|
+
elif inject_favorites['message'] == "Favorites successfully sent.":
|
|
170
|
+
print(
|
|
171
|
+
"[ " + str(datetime.datetime.now()) + " ] " + Fore.LIGHTGREEN_EX + inject_favorites[
|
|
172
|
+
'message'] + " to " + Fore.LIGHTYELLOW_EX + "" + url_video + Fore.LIGHTGREEN_EX + "Current Favorites : " +
|
|
173
|
+
inject_favorites['data'], end="\n\n")
|
|
174
|
+
print()
|
|
175
|
+
|
|
176
|
+
elif inject_favorites['message'] == "Session Expired. Please Re Login!":
|
|
177
|
+
print("[ " + str(datetime.datetime.now()) + " ] " + Fore.LIGHTRED_EX + inject_favorites[
|
|
178
|
+
'message'])
|
|
179
|
+
exit()
|
|
180
|
+
|
|
181
|
+
elif inject_favorites['message'] == "Video not found.":
|
|
182
|
+
print("[ " + str(datetime.datetime.now()) + " ] " + Fore.LIGHTRED_EX + inject_favorites[
|
|
183
|
+
'message'])
|
|
184
|
+
exit()
|
|
185
|
+
|
|
186
|
+
|
|
187
|
+
else:
|
|
188
|
+
for i in range(int(inject_favorites['message']), 0, -1):
|
|
189
|
+
print("[ " + str(
|
|
190
|
+
datetime.datetime.now()) + " ] " + Fore.LIGHTYELLOW_EX + "Please wait " + str(
|
|
191
|
+
i) + " seconds to send Favorites again.", end="\r")
|
|
192
|
+
time.sleep(1)
|
|
193
|
+
|
|
194
|
+
time.sleep(random.randint(1, 5))
|
|
195
|
+
|
|
196
|
+
else:
|
|
197
|
+
pass
|
|
198
|
+
|
|
199
|
+
elif answers['type'] == 'Hearts':
|
|
200
|
+
|
|
201
|
+
while True:
|
|
202
|
+
inject_hearts = inject.send_multi_services(url_video=url_video, services=answers['type'], )
|
|
203
|
+
|
|
204
|
+
if inject_hearts:
|
|
205
|
+
|
|
206
|
+
if inject_hearts['message'] == "Please try again later":
|
|
207
|
+
print("[ " + str(datetime.datetime.now()) + " ] " + Fore.LIGHTRED_EX + inject_hearts[
|
|
208
|
+
'message'])
|
|
209
|
+
exit()
|
|
210
|
+
|
|
211
|
+
elif inject_hearts['message'] == 'Another State':
|
|
212
|
+
print("[ " + str(
|
|
213
|
+
datetime.datetime.now()) + " ] " + Fore.LIGHTGREEN_EX + "Current Hearts : " +
|
|
214
|
+
inject_hearts['data'], end="\r")
|
|
215
|
+
|
|
216
|
+
|
|
217
|
+
elif inject_hearts['message'] == "Hearts successfully sent.":
|
|
218
|
+
print("[ " + str(datetime.datetime.now()) + " ] " + Fore.LIGHTGREEN_EX + inject_hearts[
|
|
219
|
+
'message'] + " to " + Fore.LIGHTYELLOW_EX + "" + url_video + Fore.LIGHTGREEN_EX + " Current Hearts: " +
|
|
220
|
+
inject_hearts['data'], end="\n\n")
|
|
221
|
+
print()
|
|
222
|
+
|
|
223
|
+
elif inject_hearts['message'] == "Session Expired. Please Re Login!":
|
|
224
|
+
print("[ " + str(datetime.datetime.now()) + " ] " + Fore.LIGHTRED_EX + inject_hearts[
|
|
225
|
+
'message'])
|
|
226
|
+
exit()
|
|
227
|
+
|
|
228
|
+
elif inject_hearts['message'] == "Video not found.":
|
|
229
|
+
print("[ " + str(datetime.datetime.now()) + " ] " + Fore.LIGHTRED_EX + inject_hearts[
|
|
230
|
+
'message'])
|
|
231
|
+
exit()
|
|
232
|
+
|
|
233
|
+
else:
|
|
234
|
+
for i in range(int(inject_hearts['message']), 0, -1):
|
|
235
|
+
print("[ " + str(
|
|
236
|
+
datetime.datetime.now()) + " ] " + Fore.LIGHTYELLOW_EX + "Please wait " + str(
|
|
237
|
+
i) + " seconds to send Hearts again.", end="\r")
|
|
238
|
+
time.sleep(1)
|
|
239
|
+
|
|
240
|
+
time.sleep(random.randint(1, 5))
|
|
241
|
+
|
|
242
|
+
else:
|
|
243
|
+
pass
|
|
244
|
+
|
|
245
|
+
except Exception as e:
|
|
246
|
+
pass
|
|
247
|
+
|
|
248
|
+
else:
|
|
249
|
+
print(Fore.RED + "Failed to solve captcha.")
|
|
250
|
+
|
|
251
|
+
|
|
252
|
+
if __name__ == '__main__':
|
|
253
|
+
try:
|
|
254
|
+
main()
|
|
255
|
+
except KeyboardInterrupt:
|
|
256
|
+
print(Fore.RED + "Exit")
|
|
257
|
+
exit()
|
|
Binary file
|
|
Binary file
|