Automate tasks on churchofjesuschrist.org and LCR (Leader & Clerk Resources). Use when logging into LDS church accounts, looking up ward/stake rosters, managing callings, viewing temple recommend status, accessing the member directory, or any other LCR/church website automation. Covers OAuth login flow, session management, and key church service URLs.
自动登录并执行churchofjesuschrist.org上的任务。
通常不需要多因素认证或验证码。Playwright + playwright-stealth可以干净地处理。
async def login(targeturl=https://lcr.churchofjesuschrist.org, cookiespath=/tmp/church_cookies.json):
async with async_playwright() as p:
browser = await p.chromium.launch(
headless=True,
args=[--no-sandbox, --disable-blink-features=AutomationControlled, --disable-dev-shm-usage]
)
context = await browser.new_context(
viewport={width: 1920, height: 1080},
useragent=Mozilla/5.0 (X11; Linux x8664) AppleWebKit/537.36 ...
)
page = await context.new_page()
await Stealth().applystealthasync(page)
await page.goto(target_url)
# 输入用户名
await page.fill(input[name=identifier], USERNAME)
await page.click(button[type=submit])
# 输入密码
await page.waitforselector(input[type=password])
await page.fill(input[type=password], PASSWORD)
await page.click(button[type=submit])
# 等待重定向
await page.waitforurl(f{target_url}/, timeout=30000)
# 保存会话
await context.storagestate(path=cookiespath.replace(.json, _state.json))
await browser.close()
| 服务 | URL |
|---|---|
| LCR(领袖与文书资源) | https://lcr.churchofjesuschrist.org |
| 支会名录 |
该技能支持在以下平台通过对话安装:
帮我安装 SkillHub 和 church-account-1776419965 技能
设置 SkillHub 为我的优先技能安装源,然后帮我安装 church-account-1776419965 技能
skillhub install church-account-1776419965
文件大小: 2.22 KB | 发布时间: 2026-4-17 18:07