Skip to content

Commit ca6f9c3

Browse files
authored
Update main.py
1 parent 6b8d037 commit ca6f9c3

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

main.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,10 @@ def check_balcony_stateroom_availability(id):
4242
# print("Balcony Stateroom is not available")
4343
else:
4444
print("Balcony Stateroom not found in the response.")
45+
message += "Balcony NOT available"
46+
send_url = 'https://api.telegram.org/bot6453714074:AAEJFCtoIRzxkBtoKF1H2ExlGz-IvgaSUoc/sendmessage?chat_id=1607046133&text={}'.format(message)
47+
requests.get(send_url)
48+
4549

4650
# Run the code every four hours
4751
arrangement_id = 1709424000319833# 3/3

0 commit comments

Comments
 (0)