LET'S GO CA MARCHE (il y a plus qu'a rendre tout ca joli + faire en sorte que le vnc se connecte tout seul et c'est une dinguerie)
This commit is contained in:
parent
7860cfdf04
commit
f9d7da64c9
|
@ -35,11 +35,11 @@ function change_override(value, data) {
|
||||||
{% for i in range(0,5) %}
|
{% for i in range(0,5) %}
|
||||||
<tr heigh="15%">
|
<tr heigh="15%">
|
||||||
<td id="compte_{{i}}"></td>
|
<td id="compte_{{i}}"></td>
|
||||||
<td><input type="checkbox" id="compte_{{i}}" value="{{i}}" name="unban"></td>
|
<td><input type="checkbox" id="compte_{{i+1}}" value="{{i}}" name="unban"></td>
|
||||||
<td><input type="checkbox" id="compte_{{i}}" value="{{i}}" name="tout"></td>
|
<td><input type="checkbox" id="compte_{{i+1}}" value="{{i}}" name="tout"></td>
|
||||||
<td><input type="checkbox" id="compte_{{i}}" value="{{i}}" name="daily"></td>
|
<td><input type="checkbox" id="compte_{{i+1}}" value="{{i}}" name="daily"></td>
|
||||||
<td><input type="checkbox" id="compte_{{i}}" value="{{i}}" name="pc"></td>
|
<td><input type="checkbox" id="compte_{{i+1}}" value="{{i}}" name="pc"></td>
|
||||||
<td><input type="checkbox" id="compte_{{i}}" value="{{i}}" name="mobile"></td>
|
<td><input type="checkbox" id="compte_{{i+1}}" value="{{i}}" name="mobile"></td>
|
||||||
</tr>
|
</tr>
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
|
|
||||||
|
|
7
V6.py
7
V6.py
|
@ -844,8 +844,11 @@ def very_custom_start(json):
|
||||||
try :
|
try :
|
||||||
if str(i) in json["unban"]:
|
if str(i) in json["unban"]:
|
||||||
pwd_login(driver) # TODO : define only the first part of login
|
pwd_login(driver) # TODO : define only the first part of login
|
||||||
print("waiting 1000 secs")
|
print("\nGO TO exmaple.com TO PROCEED or wait 600 secs.")
|
||||||
sleep(1000)
|
for _ in range(600):
|
||||||
|
sleep(1)
|
||||||
|
if driver.current_url == "https://example.com":
|
||||||
|
break
|
||||||
else :
|
else :
|
||||||
login(driver)
|
login(driver)
|
||||||
except KeyError :
|
except KeyError :
|
||||||
|
|
Loading…
Reference in New Issue