I developed a python script automatically place my Upakarma Shilajit order on 5th of every month.

I am a regular user of Upakarma Shilajit because it enhances my mental strength as well as my physical endurance. But sometimes I missed my daily dose because my stock used to get finished every month. In order to get rid of this issue I developed a python script automatically place my Upakarma Shilajit order on 5th of every month. I will share the script with you so that you can do it too. To setup the script I installed selenium pip install selenium Download ChromeDriver (or the driver for your browser) from chromedriver and place it in your system's PATH. from selenium import webdriver from selenium.webdriver.common.by import By from selenium.webdriver.common.keys import Keys import time import datetime # Your order details EMAIL = "your-email@example.com" PASSWORD = "your-password" PHONE = "your-phone" ADDRESS = "Your full address" CITY = "Your City" PINCODE = "Your Pincode" PRODUCT_URL = "https://upakarma.com/product-category/pure-shilajit/" # Open browser driver = webdriver.Chrome() # Make sure ChromeDriver is installed driver.get("https://www.upakarma.com") # Wait for page to load time.sleep(3) # Login to account driver.find_element(By.LINK_TEXT, "Login").click() time.sleep(2) driver.find_element(By.NAME, "email").send_keys(EMAIL) driver.find_element(By.NAME, "password").send_keys(PASSWORD) driver.find_element(By.NAME, "password").send_keys(Keys.RETURN) time.sleep(3) # Go to product page driver.get(PRODUCT_URL) time.sleep(3) # Add to cart driver.find_element(By.CLASS_NAME, "add-to-cart-button").click() time.sleep(2) # Go to checkout driver.get("https://www.upakarma.com/checkout") time.sleep(3) # Fill in details driver.find_element(By.NAME, "phone").send_keys(PHONE) driver.find_element(By.NAME, "address").send_keys(ADDRESS) driver.find_element(By.NAME, "city").send_keys(CITY) driver.find_element(By.NAME, "pincode").send_keys(PINCODE) # Proceed to payment driver.find_element(By.CLASS_NAME, "proceed-to-payment").click() time.sleep(5) # Confirm order (manual step for now) print("Order placed up to the payment step. Complete payment manually.") # Close browser driver.quit() You can schedule this script to run on 5th of every month. Here are the steps to schedule the task. Windows Task Scheduler Open Task Scheduler → Click Create Basic Task Name: "Upakarma Shilajit Order" Trigger → Select "Monthly" → Pick the 5th Action → "Start a Program" → Select python.exe → Add script path Click Finish

Mar 17, 2025 - 10:10
 0
I developed a python script automatically place my Upakarma Shilajit order on 5th of every month.

I am a regular user of Upakarma Shilajit because it enhances my mental strength as well as my physical endurance. But sometimes I missed my daily dose because my stock used to get finished every month. In order to get rid of this issue I developed a python script automatically place my Upakarma Shilajit order on 5th of every month. I will share the script with you so that you can do it too.

To setup the script I installed selenium
pip install selenium

Download ChromeDriver (or the driver for your browser) from chromedriver and place it in your system's PATH.

from selenium import webdriver
from selenium.webdriver.common.by import By
from selenium.webdriver.common.keys import Keys
import time
import datetime

# Your order details
EMAIL = "your-email@example.com"
PASSWORD = "your-password"
PHONE = "your-phone"
ADDRESS = "Your full address"
CITY = "Your City"
PINCODE = "Your Pincode"
PRODUCT_URL = "https://upakarma.com/product-category/pure-shilajit/"

# Open browser
driver = webdriver.Chrome()  # Make sure ChromeDriver is installed
driver.get("https://www.upakarma.com")

# Wait for page to load
time.sleep(3)

# Login to account
driver.find_element(By.LINK_TEXT, "Login").click()
time.sleep(2)
driver.find_element(By.NAME, "email").send_keys(EMAIL)
driver.find_element(By.NAME, "password").send_keys(PASSWORD)
driver.find_element(By.NAME, "password").send_keys(Keys.RETURN)
time.sleep(3)

# Go to product page
driver.get(PRODUCT_URL)
time.sleep(3)

# Add to cart
driver.find_element(By.CLASS_NAME, "add-to-cart-button").click()
time.sleep(2)

# Go to checkout
driver.get("https://www.upakarma.com/checkout")
time.sleep(3)

# Fill in details
driver.find_element(By.NAME, "phone").send_keys(PHONE)
driver.find_element(By.NAME, "address").send_keys(ADDRESS)
driver.find_element(By.NAME, "city").send_keys(CITY)
driver.find_element(By.NAME, "pincode").send_keys(PINCODE)

# Proceed to payment
driver.find_element(By.CLASS_NAME, "proceed-to-payment").click()
time.sleep(5)

# Confirm order (manual step for now)
print("Order placed up to the payment step. Complete payment manually.")

# Close browser
driver.quit()

You can schedule this script to run on 5th of every month. Here are the steps to schedule the task.
Windows Task Scheduler

  • Open Task Scheduler → Click Create Basic Task
  • Name: "Upakarma Shilajit Order"
  • Trigger → Select "Monthly" → Pick the 5th
  • Action → "Start a Program" → Select python.exe → Add script path
  • Click Finish