POV: Sending you sexy pics while you're at work
I am a naked woman standing in front of a mirror, taking a selfie with my cell phone. I have long black hair and am holding a remote control in my hand. I am confidently posing for the picture, showcasing my body and enjoying the moment.import os import time import json from datetime import datetime from selenium import webdriver from selenium.webdriver.chrome.options import Options from selenium.webdriver.chrome.service import Service # Import Service def log_info(image_file, script_name): log_file_path = '/home/lv3/Desktop/Script_Manager/logs/logs.json' if os.path.exists(log_file_path): with open(log_file_path, 'r') as f: logs = json.load(f) max_id = max((entry['id'] for entry in logs['log']), default=0) if logs['log'] else 0 else: logs = {"log": []} max_id = 0 log_entry = { "id": max_id + 1, "date": datetime.now().strftime('%Y-%m-%d'), "name": image_file, "url": "https://porno-pix.com", "script": "uploader_only_image_b.py" } logs['log'].append(log_entry) with open(log_file_path, 'w') as f: json.dump(logs, f, indent=4) folder = "/home/lv3/Desktop/Script_Manager/p-pix/upload/done/a" service = Service('/home/lv3/Desktop/Script_Manager/chromedriver') driver = webdriver.Chrome(service=service) while True: files = os.listdir(folder) image_files = [f for f in files if f.endswith(".png") or f.endswith(".jpeg")] if not image_files: break for image_file in image_files: image_file_path = os.path.join(folder, image_file) image_file_path = os.path.abspath(image_file_path) driver = webdriver.Chrome(executable_path=chrome_driver_path, options=options) driver.get("https://porno-pix.com/upload.php") file_input = driver.find_element_by_name("image") file_input.send_keys(image_file_path) upload_button = driver.find_element_by_name("upload_image") upload_button.click() print("waiting 5 seconds before submit the form...") time.sleep(5) log_info(image_file, "uploader_only_image_b.py") # Call the log_info function here uploaded_folder = "/home/lv3/Desktop/Script_Manager/p-pix/uploaded" os.rename(image_file_path, os.path.join(uploaded_folder, image_file)) print("image was uploaded closing the browser in 5 4 3 2 1...") time.sleep(5) driver.quit()