File tree 1 file changed +7
-3
lines changed
1 file changed +7
-3
lines changed Original file line number Diff line number Diff line change 19
19
magenta = Fore .MAGENTA + bright + dim
20
20
21
21
22
- LOCATION_URL = 'https://www.edu.xunta.es/CONTINXENCIA_NERTA/index.html'
22
+ LOCATION_URL = "https://www.edu.xunta.es/CONTINXENCIA_NERTA/index.html"
23
+ SOUND_FILE = "bruh.wav"
24
+ DETECTION_STR = "deshabilitado temporalmente"
23
25
DELAY = 10
24
26
25
27
26
28
def main ():
27
29
os .system ("cls" )
30
+ os .system ("title Bot notas ABAU" )
31
+
28
32
print (magenta + "\n \n * Bot notas ABAU *\n " )
29
33
30
34
while True :
@@ -45,11 +49,11 @@ def main():
45
49
now = datetime .now ()
46
50
current_time = now .strftime ("%H:%M:%S" )
47
51
48
- if "deshabilitado temporalmente" in abau .text :
52
+ if DETECTION_STR in abau .text :
49
53
print (yellow + "Las notas aún no han sido publicadas" + Fore .RESET + " - " + cyan + current_time )
50
54
else :
51
55
print (green + "NOTAS PUBLICADAS!!" )
52
- playsound ("bruh.wav" )
56
+ playsound (SOUND_FILE )
53
57
os .system ("msg * Notas ABAU publicadas!" )
54
58
break
55
59
You can’t perform that action at this time.
0 commit comments