0520マドモアゼル名無しさん
2023/07/11(火) 23:56:14.72ID:ZSDmot5ufrom selenium.webdriver.common.by import By
from selenium.webdriver.support.ui import WebDriverWait
from selenium.webdriver.support import expected_conditions
from selenium.webdriver.common.desired_capabilities import DesiredCapabilities
from latest_user_agents import get_latest_user_agents
def write_thread(
driver, server: str, board: str, thread: str,
body: str, name: str = None, mail: str = None
) -> (bool, Optional[str]):
url = f"https://{server}.5ch.net/test/read.cgi/{board}/{thread}/l50"