MCPcopy Create free account

hub / github.com/asz798838958/FrciblyK12 / functions

Functions4,268 in github.com/asz798838958/FrciblyK12

↓ 8 callersMethodbitbrowser
( cls, *, profile_id: str, window_mode: str = "headed", api_url: str =
platforms/_browser_backend.py:88
↓ 8 callersFunctionbuild_platform_account
(session: Session, model: AccountModel)
core/platform_accounts.py:96
↓ 8 callersFunctioncreate_phone_callbacks
Create (phone_callback, cleanup) tuple for browser registration.
core/base_sms.py:1249
↓ 8 callersMethodget_metadata
(self)
core/db.py:102
↓ 8 callersFunctioninvalidateConfigOptionsCache
()
frontend/src/lib/app-data.ts:65
↓ 8 callersFunctionis_luhn_valid
校验给定字符串是否为 Luhn 合规的卡号。
platforms/chatgpt/card_generator.py:56
↓ 8 callersFunctionis_running
()
services/solver_manager.py:21
↓ 8 callersMethodnew_page
(self)
tests/test_chatgpt_payment_link.py:7537
↓ 8 callersMethodotp_callback
()
platforms/chatgpt/protocol_mailbox.py:263
↓ 8 callersMethodput
发送 PUT 请求
core/http_client.py:155
↓ 8 callersMethodrequest_another
这套 API 没有"重发"概念——发码由 GoPay 触发,这里只重置基线, 让下一次 wait_code 只认更新的短信。
platforms/gopay/sms_channel.py:537
↓ 8 callersMethodrun
(self, *, email: str, password: str, name: str)
platforms/windsurf/browser_register.py:612
↓ 8 callersFunctionsubmit_callback_url
处理 OAuth 回调 URL,获取访问令牌 Args: callback_url: 回调 URL expected_state: 预期的 state 值 code_verifier: PKCE code_verifier
platforms/chatgpt/oauth.py:240
↓ 8 callersFunctionswitch_chatgpt_workspace_via_profile_menu
( page, *, workspace_id: str = "", timeout_ms: int = 45000, log=None, )
platforms/chatgpt/cpa_session.py:734
↓ 8 callersMethodtry_click_provider
(self, provider: str)
core/oauth_browser.py:245
↓ 7 callersFunction_as_dict
(value: Any)
platforms/chatgpt/cpa_session.py:25
↓ 7 callersMethod_bind_workspace_slug
(self, workspace_slug: str)
platforms/blink/core.py:220
↓ 7 callersFunction_browser_fetch
(page, url: str, *, method: str = "GET", headers: dict | None = None, body: str | None = None, redirect: str =
platforms/chatgpt/browser_register.py:2064
↓ 7 callersFunction_click_by_candidates
( page, *, label: str, selectors: tuple[str, ...] = (), patterns: tuple[re.Pattern, ...] =
platforms/chatgpt/payment.py:1152
↓ 7 callersFunction_click_submit_button
点击 submit 按钮(AWS 页面用 button[type=submit])。
platforms/kiro/browser_register.py:76
↓ 7 callersMethod_execute_step
执行单个 HTTP 步骤,返回响应 JSON。
core/generic_http_mailbox.py:195
↓ 7 callersMethod_fill_if_empty
( self, page: Page, patterns: list[re.Pattern[str]], value: str, *,
platforms/windsurf/browser_register.py:1353
↓ 7 callersFunction_has_security_challenge_text
检测页面正文是否明确显示了 "Security Challenge" 类提示。 **关键字必须收紧**:之前用 ``"captcha"`` / ``"人机"`` / ``"验证码"`` 这类 单字 / 子串太松,会被 Stripe / ChatGPT 结账页里的无关词(``veri
platforms/chatgpt/payment.py:3385
↓ 7 callersMethod_is_final_alipay_cashier_url
(url: str)
platforms/windsurf/browser_register.py:1624
↓ 7 callersFunction_is_page_load_error_url
Chromium 页面加载失败(代理断流 / 连接重置 / DNS 失败)时会落到内部 错误页。动态 IP 不稳定断流后,导航通常会停在这些 URL 上。
platforms/chatgpt/payment.py:2251
↓ 7 callersFunction_is_turnstile_modal_visible
检测 Turnstile 挑战是否可见(使用 body 文字,因为 iframe 延迟加载)。
platforms/cursor/browser_register.py:262
↓ 7 callersFunction_isoformat
(value: datetime | None)
application/account_exports.py:43
↓ 7 callersFunction_jp_prefecture_candidates
根据任意形式的都道府县字符串(英文 / 日文 / PayPal 全大写代码 / 带连字符 ``Hokkaido-do`` / 街道结尾片段等),返回这一组的所有别名。 匹配规则:先做"紧凑化"(小写、去除非字母数字+CJK),再跟表里每个字段 的紧凑形式比对——只要任意字段
platforms/chatgpt/payment.py:1381
↓ 7 callersFunction_parse_timestamp_message
(fields: list[ProtoField], number: int)
platforms/windsurf/core.py:154
↓ 7 callersFunction_paypal_state
( *, session, current_url: str = "", paypal_redirect_url: str = "", timeout: int = 60, )
tests/test_chatgpt_payment_protocol.py:1476
↓ 7 callersFunction_post
(session, url: str, data: dict, *, headers: Optional[dict] = None)
platforms/chatgpt/stripe_http.py:159
↓ 7 callersFunction_proxy_config
(proxy: Optional[str])
platforms/windsurf/browser_register.py:36
↓ 7 callersFunction_try
(field: str, ok: bool)
platforms/chatgpt/payment.py:1856
↓ 7 callersFunction_utcnow
()
core/lifecycle.py:21
↓ 7 callersFunctionacquire_profile_for_browser_mode
Return ``(profile_id, acquired_id)`` for BitBrowser modes.
application/bitbrowser_profiles.py:185
↓ 7 callersMethodadd_init_script
(self, script)
tests/test_chatgpt_payment_link.py:7502
↓ 7 callersMethodbind
( self, *, ids: list[int] | None = None, fallback_ids: list[int] | None = None
application/phone_binding.py:192
↓ 7 callersFunctioncreate_sms_provider
Create an SMS provider instance from config.
core/base_sms.py:1063
↓ 7 callersMethoddone
(self, _id: str)
platforms/gopay/sms_channel.py:547
↓ 7 callersFunctionfinalize_oauth_email
(actual_email: str, email_hint: str, platform_name: str)
core/oauth_browser.py:48
↓ 7 callersMethodget_current_ids
返回当前邮件 ID 集合(用于过滤旧邮件)
core/base_mailbox.py:41
↓ 7 callersMethodget_next
获取下一个可用代理。 优先级: 1. 动态代理 provider(如果已配置且启用) 2. 静态代理池里 region 匹配的代理 3. 静态代理池里**任意**可用代理(软回退——region 不匹配总比无代理强)
core/proxy_pool.py:14
↓ 7 callersMethodlist_settings
(self, provider_type: str)
application/provider_settings.py:12
↓ 7 callersFunctionload_all
自动扫描并加载 platforms/ 下所有插件
core/registry.py:25
↓ 7 callersMethodlog
(self, message: str)
core/registration/models.py:40
↓ 7 callersFunctionparse_checkout_mode
把 UI 传过来的字符串 ``checkout_mode`` 解析成 ``BrowserBackendConfig``。 支持的字符串(UI dropdown 选项就是这几个): camoufox_headed Camoufox 前台 camou
platforms/_browser_backend.py:123
↓ 7 callersFunctionparse_proto
(buf: bytes)
platforms/windsurf/core.py:107
↓ 7 callersMethodrecord_success
(self)
application/tasks.py:551
↓ 7 callersMethodrelease
(self, profile_id: str)
application/bitbrowser_profiles.py:155
↓ 7 callersFunctionrelease_acquired_profile
(profile_id: str, *, log_fn=None)
application/bitbrowser_profiles.py:207
↓ 7 callersMethodstop
(self)
core/scheduler.py:32
↓ 7 callersMethodwait_code
轮询 record API,拿到比基线更新的那条短信里的 OTP。
platforms/gopay/sms_channel.py:520
↓ 7 callersMethodwait_for
(self, state, timeout)
tests/test_chatgpt_payment_link.py:715
↓ 6 callersFunction_authorize_state
( *, session, ba_token: str = "BA-72945930KY909584F", ec_token: str = "EC-4K3778217T470210U",
tests/test_chatgpt_payment_protocol.py:1739
↓ 6 callersFunction_choice_options
(values: list[str], labels: dict[str, str])
application/platforms.py:29
↓ 6 callersFunction_click_continue
尝试点击 Continue/Next/Sign up 按钮,兜底用 Enter。
platforms/cursor/browser_register.py:105
↓ 6 callersFunction_close_ctf_popup_if_present
关闭 PayPal OTP popup(用于换号 / 取消时让表单重新可见)。 顺序: 1. 找 dialog scope 内的 ``aria-label="Close"`` / ``data-testid="close"`` X 按钮。 2. 找
platforms/chatgpt/payment.py:6386
↓ 6 callersFunction_extract_code_from_url
(url: str)
platforms/chatgpt/browser_register.py:1959
↓ 6 callersFunction_extract_hcaptcha_sitekey
从主 DOM、所有 frame DOM 以及 frame URL 中提取 hCaptcha sitekey。 PayPal 把 hCaptcha 包在自家 wrapper iframe (``paypalobjects.com/.../ hcaptcha/hcaptcha_fph.
platforms/chatgpt/payment.py:4045
↓ 6 callersFunction_field_bytes
(field: int, value: bytes)
platforms/windsurf/core.py:63
↓ 6 callersFunction_finish_checkout_progress
(attempt: int)
platforms/chatgpt/payment.py:7668
↓ 6 callersFunction_js_str
JS-style String coercion: arrays join with comma, None->'undefined', etc.
platforms/chatgpt/sentinel_vm.py:10
↓ 6 callersMethod_load_chatgpt_items
(self, selection: AccountExportSelection)
application/account_exports.py:505
↓ 6 callersMethod_load_records
(session: Session, models: list[AccountModel])
infrastructure/accounts_repository.py:100
↓ 6 callersFunction_make_register_one_result
构造 ``_register_one`` 的成功返回值。
tests/test_gopay_register_balance.py:15
↓ 6 callersFunction_normalize_timestamp
(value: Any)
platforms/chatgpt/cpa_session.py:57
↓ 6 callersFunction_page_body_text
(page)
platforms/chatgpt/payment.py:3158
↓ 6 callersMethod_post
(self, path: str, body: dict)
core/any2api_sync.py:61
↓ 6 callersMethod_post
(self, path: str, params: dict, retries: int = 3)
platforms/gopay/sms_channel.py:95
↓ 6 callersMethod_proto_post
( self, method: str, body: bytes, *, account_id: str = "", org
platforms/windsurf/browser_register.py:476
↓ 6 callersFunction_provider_from_payload
(payload: HeroSmsQueryRequest | None = None)
api/sms.py:35
↓ 6 callersFunction_random_chrome_ua
()
platforms/chatgpt/browser_register.py:1835
↓ 6 callersMethod_request
(self, action: str, **params)
core/base_sms.py:118
↓ 6 callersFunction_resolve_registration_proxy_for_platform
( platform_name: str, *, explicit_proxy: str | None, proxy_getter: Callable[[], str | None], )
application/tasks.py:884
↓ 6 callersFunction_safe_dict
(value: Any)
core/account_display.py:13
↓ 6 callersMethod_save_cache
(self, cache: dict | None)
core/base_sms.py:617
↓ 6 callersFunction_seed_chatgpt_account
(*, email: str = "ct@example.com", access_token: str = "at_x")
tests/test_gopay_pay_chatgpt.py:16
↓ 6 callersFunction_serialize_datetime
(value: datetime | None)
application/tasks.py:73
↓ 6 callersFunction_submit_callback_result
(callback_url: str, oauth_start, proxy: str | None)
platforms/chatgpt/browser_register.py:2374
↓ 6 callersFunction_submit_form_with_fallback
(page, input_selector: str)
platforms/chatgpt/browser_register.py:1325
↓ 6 callersMethodadd_cookies
(self, cookies)
tests/test_chatgpt_payment_link.py:3904
↓ 6 callersMethodauto_select_google_account
Google 账号选择器出现时自动点击第一个账号。 适用于 Chrome Profile 模式:Google 已登录,弹出账号选择器。
core/oauth_browser.py:305
↓ 6 callersFunctionbuildExecutorOptions
( identityProvider: string, supportedExecutors: string[], reusableBrowser: boolean, executorOptions: C
frontend/src/lib/registration.ts:87
↓ 6 callersFunctionchoice_options
(values: list[str], labels: dict[str, str])
customer_portal_api/app/catalog.py:172
↓ 6 callersFunctioncreate_proxy_provider
根据 provider_key 和配置创建代理提供者。
core/proxy_providers.py:53
↓ 6 callersFunctiongenerate_oauth_url
生成 OAuth 授权 URL Args: redirect_uri: 回调地址 scope: 权限范围 client_id: OpenAI Client ID Returns: OAuthStart 对象
platforms/chatgpt/oauth.py:190
↓ 6 callersFunctiongetAccountOverview
(acc: any)
frontend/src/pages/PlusManager.tsx:40
↓ 6 callersFunctiongetCashierUrl
(acc: any)
frontend/src/pages/Accounts.tsx:131
↓ 6 callersFunctiongetLifecycleStatus
(acc: any)
frontend/src/pages/Accounts.tsx:59
↓ 6 callersFunctiongetPlanState
(acc: any)
frontend/src/pages/Accounts.tsx:67
↓ 6 callersMethodget_auth_modes
(self)
core/db.py:153
↓ 6 callersMethodget_default_provider_key
(self, provider_type: str, *, enabled_only: bool = True)
infrastructure/provider_settings_repository.py:81
↓ 6 callersMethodget_payload
(self)
core/db.py:260
↓ 6 callersFunctionhasReusableOAuthBrowser
(config: { chrome_user_data_dir?: string; chrome_cdp_url?: string })
frontend/src/lib/registration.ts:8
↓ 6 callersFunctionisTerminalTaskStatus
(status: string)
frontend/src/lib/tasks.ts:27
↓ 6 callersFunctionsave_result
(task_id, task_type, data)
services/turnstile_solver/db_results.py:10
↓ 6 callersMethodsetItem
(self, k, v)
platforms/chatgpt/sentinel_vm.py:262
↓ 6 callersFunctionsolver
(page_url, site_key, challenge_type="turnstile")
tests/test_chatgpt_payment_link.py:6744
↓ 6 callersMethodtext
(self)
tests/test_chatgpt_oauth_requirements.py:19
↓ 6 callersMethodwait_for_code
(self, activation_id: str, *, timeout: int = 180, poll_interval: int = 3)
core/base_sms.py:845
← previousnext →201–300 of 4,268, ranked by callers