From 92c741e0be532299eb212bafdc983ca38d545312 Mon Sep 17 00:00:00 2001 From: dumbprogrammer <102885633+Lilafian@users.noreply.github.com> Date: Fri, 23 Dec 2022 22:52:23 -0600 Subject: [PATCH] Edit scap.py grammar --- scripts/Amazon_price_tracker/scap.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/Amazon_price_tracker/scap.py b/scripts/Amazon_price_tracker/scap.py index 0962ed2..22abe33 100644 --- a/scripts/Amazon_price_tracker/scap.py +++ b/scripts/Amazon_price_tracker/scap.py @@ -38,7 +38,7 @@ def send_mail(): message['Subject'] = "Your favourite product is now at cheaper price!!😍" message['From'] = email_id message['to'] = "mobir99513@lutota.com" #Any random email you can give whom you want to send the email - message.set_content("Hey check this amazon link : https://www.amazon.in/Apple-MacBook-Chip-13-inch-256GB/dp/B08N5W4NNB/ref=sr_1_3?crid=3BF9J6OT56GW0&keywords=macbook+m1&qid=1665331351&qu=eyJxc2MiOiIzLjgzIiwicXNhIjoiMi43NiIsInFzcCI6IjEuNTIifQ%3D%3D&sprefix=macbook+m1%2Caps%2C3675&sr=8-3") + message.set_content("Hey! Check out this Amazon link : https://www.amazon.in/Apple-MacBook-Chip-13-inch-256GB/dp/B08N5W4NNB/ref=sr_1_3?crid=3BF9J6OT56GW0&keywords=macbook+m1&qid=1665331351&qu=eyJxc2MiOiIzLjgzIiwicXNhIjoiMi43NiIsInFzcCI6IjEuNTIifQ%3D%3D&sprefix=macbook+m1%2Caps%2C3675&sr=8-3") with smtplib.SMTP_SSL('smtp.gmail.com',465) as smtp: #465 is the port number @@ -47,4 +47,4 @@ def send_mail(): while True: check_price() - time.sleep(10) \ No newline at end of file + time.sleep(10)