Skip to content

agent: add adapter for Douyin - #2652

Open
alectimison-maker wants to merge 2 commits into
webbrain-one:mainfrom
alectimison-maker:agent/douyin-adapter
Open

agent: add adapter for Douyin#2652
alectimison-maker wants to merge 2 commits into
webbrain-one:mainfrom
alectimison-maker:agent/douyin-adapter

Conversation

@alectimison-maker

Copy link
Copy Markdown
Contributor

Summary

Adds mirrored Douyin guidance for video/search/live surfaces, current HTTP-200 verification pages, safe interaction boundaries, login, and publication completion.

Validation

  • Test-first assertion failed before implementation, then passed.
  • Playwright: main/search returned HTTP 200 with 验证码中间页; live returned HTTP 200 with current navigation/search/login controls.
  • Full suite: 1404/1405 (sole pre-existing package/changelog mismatch). Security corpus: 60/60. git diff --check: passed.

Risks

Prompt-only and browser-mirrored. No login, interaction, upload, publication, recharge, purchase, or gift action was performed.

@vercel

vercel Bot commented Aug 2, 2026

Copy link
Copy Markdown

@alectimison-maker is attempting to deploy a commit to the esokullu's projects Team on Vercel.

A member of the Team first needs to authorize it.

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Adds mirrored Douyin adapter guidance for browsing, verification, interactions, login, and publishing.

Changes:

  • Adds Chrome and Firefox Douyin adapters.
  • Adds matching, safety, and parity tests.
  • Creator upload domain remains unmatched.

Reviewed changes

Copilot reviewed 3 out of 3 changed files in this pull request and generated 2 comments.

File Description
src/chrome/src/agent/adapters.js Adds Chrome Douyin guidance.
src/firefox/src/agent/adapters.js Mirrors the Douyin adapter.
test/run.js Tests matching and guidance parity.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread src/firefox/src/agent/adapters.js Outdated
// ─── Social (gaps) ────────────────────────────────────────────────────
{
name: 'douyin', category: 'general',
matches: (url) => /^https?:\/\/(?:(?:www|live|v)\.)?douyin\.com\//.test(url),
Comment thread src/chrome/src/agent/adapters.js Outdated
// ─── Social (gaps) ────────────────────────────────────────────────────
{
name: 'douyin', category: 'general',
matches: (url) => /^https?:\/\/(?:(?:www|live|v)\.)?douyin\.com\//.test(url),
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants