Compare commits
2
Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
146609bbae | ||
|
|
cd712e992d |
@@ -311,12 +311,19 @@ def _cookie_login(driver, cookie: str) -> bool:
|
|||||||
except Exception:
|
except Exception:
|
||||||
pass
|
pass
|
||||||
try:
|
try:
|
||||||
driver.add_cookie({"name": ".ROBLOSECURITY", "value": cookie, "domain": ".roblox.com"})
|
driver.execute_cdp_cmd("Network.setCookie", {
|
||||||
driver.get("https://www.roblox.com/home")
|
"name": ".ROBLOSECURITY",
|
||||||
time.sleep(3)
|
"value": cookie,
|
||||||
return "/login" not in driver.current_url
|
"domain": ".roblox.com",
|
||||||
|
"path": "/",
|
||||||
|
"secure": True,
|
||||||
|
"httpOnly": True,
|
||||||
|
})
|
||||||
except Exception:
|
except Exception:
|
||||||
return False
|
driver.add_cookie({"name": ".ROBLOSECURITY", "value": cookie, "domain": ".roblox.com"})
|
||||||
|
driver.get("https://www.roblox.com/home")
|
||||||
|
time.sleep(4)
|
||||||
|
return "/login" not in driver.current_url
|
||||||
|
|
||||||
|
|
||||||
def process_account(driver, acc: dict, donor_video: Path | None,
|
def process_account(driver, acc: dict, donor_video: Path | None,
|
||||||
|
|||||||
Reference in New Issue
Block a user