Skip to content
cccskills
FreePublished on GitHub

douyin

Provide authenticated cookies for Douyin (抖音/TikTok China) — two providers: douyin (www.douyin.com for scraping) and douyin-live (live.douyin.com for livestream). Use this skill whenever the user needs Douyin cookies for scraping tools like DouYin_Spider, or needs to authenticate with Douyin services. Trigger when the user mentions 抖音, Douyin, TikTok China, douyin cookies, or wants to use tools that require Douyin login cookies.

The English summary is being prepared. Showing the original description.

Works withTikTok
See how to install

Files included (2)

  • SKILL.md2.7 KB
  • references/provider-config.yaml1.4 KB

SKILL.md (original)

Review the instructions the agent will receive before you install.

Douyin Skill (Cookie Provider)

This skill provides authenticated cookies for Douyin (抖音) via sigcli. It produces two sets of cookies for different domains:

ProviderDomainUse case
douyinwww.douyin.comData scraping (videos, users, search, comments)
douyin-livelive.douyin.comLivestream monitoring (弹幕, gifts, WebSocket)

Setup

1. Configure providers

Add the config from references/provider-config.yaml to ~/.sig/config.yaml under providers:.

2. Login

sig login douyin        # Opens browser, scan QR code with Douyin app
sig login douyin-live   # Same — captures live.douyin.com cookies

3. Verify

sig status douyin
sig status douyin-live
# Both should show: valid: true

Usage with DouYin_Spider

Once cookies are obtained, use DouYin_Spider for data scraping and livestream monitoring:

# Install DouYin_Spider
git clone https://github.com/cv-cat/DouYin_Spider.git
cd DouYin_Spider
pip install -r requirements.txt && npm install

# Write cookies to .env
echo "DY_COOKIES='$(sig get douyin --no-redaction --format value)'" > .env
echo "DY_LIVE_COOKIES='$(sig get douyin-live --no-redaction --format value)'" >> .env

# Run
python main.py              # Data scraping
python dy_live/server.py    # Livestream monitoring
python dy_apis/douyin_recv_msg.py  # Private message receiving

Get cookies

# www.douyin.com cookie (for scraping)
sig get douyin --no-redaction --format value

# live.douyin.com cookie (for livestream)
sig get douyin-live --no-redaction --format value

Validation

The validateRule uses Douyin's notification count API:

  • Endpoint: https://www.douyin.com/aweme/v1/web/notice/count/
  • Logged in: {"status_code": 0, "notice_count": [...]}
  • Not logged in: {"status_code": 8, "status_msg": "用户未登录"}
  • Rule: res.body.status_code === 0

Notes

  • Douyin requires visible browser login (QR code scan) — loginMode: visible
  • Cookies from .douyin.com parent domain are shared between www and live subdomains
  • TTL is set to 2h; use sig watch add douyin for auto-refresh

Reviews

No reviews yet. Tell others what you thought.

Comments

No login needed. Share how it worked for you, ask a question, or note where it did not run.

No comments yet. Be the first to write one.

Comments are published right away. Do not include personal information such as email addresses or phone numbers. Up to 2 URLs.

0 / 1,000 characters

This form is protected by reCAPTCHA, and the Google Privacy Policy and Terms of Service apply.

More skills from this repository

Interact with Bilibili (B站) — browse trending videos, view video details, read comments, search videos and users, view user profiles, like, coin, and favorite videos. Use this skill whenever the user mentions Bilibili, B站, wants to browse Bilibili content, search Bilibili videos, read Bilibili comments, look up Bilibili users, or interact with Bilibili content. Also trigger when the user pastes a Bilibili URL (e.g. bilibili.com/video/BV...) or mentions a BV ID.

The English summary is being prepared. Showing the original description.

sigcli/sigcli292Updated Sep 28, 2026

Interact with Hacker News (news.ycombinator.com) — browse top, new, and best stories, read item details and comment threads, look up user profiles, and search posts via Algolia. Use this skill whenever the user mentions Hacker News, HN, YCombinator news, ycombinator.com, news.ycombinator.com, wants to browse tech news, read HN discussions, search HN posts, or look up HN users. Also trigger when the user pastes an HN URL (e.g. news.ycombinator.com/item?id=12345). Keywords: Hacker News, HN, YC, ycombinator, tech news, Show HN, Ask HN, HN front page.

The English summary is being prepared. Showing the original description.

sigcli/sigcli292Updated Sep 28, 2026

Interact with LinkedIn — view your profile, browse other profiles, read the feed, search jobs/posts/people, get job details, create posts, like/unlike posts, comment, send connection requests, and follow/unfollow users. Use this skill whenever the user mentions LinkedIn, wants to search for jobs or people, read their LinkedIn feed, view a profile, get job details, create a post, like or comment on content, send a connection request, or follow someone. Also trigger when the user pastes a LinkedIn URL (e.g. linkedin.com/in/..., linkedin.com/jobs/view/...) or mentions LinkedIn networking.

The English summary is being prepared. Showing the original description.

sigcli/sigcli292Updated Sep 28, 2026

Interact with Microsoft Teams — send and read messages, search conversations, look up people, check calendar, get meeting transcripts, and manage chats. Use this skill whenever the user mentions Teams, MS Teams, Microsoft Teams, wants to send a message, read chat history, search conversations, look up a colleague, check their calendar, find meeting recordings or transcripts, see direct reports or manager, or do anything involving Teams communication. Also trigger when the user asks about scheduling, org chart, people search, or wants to message someone.

The English summary is being prepared. Showing the original description.

sigcli/sigcli292Updated Sep 28, 2026

Interact with Outlook email — read inbox, send emails, search messages, reply/forward, manage folders, download attachments. Use this skill whenever the user mentions email, Outlook, inbox, mail, send email, check email, unread messages, email search, attachments, reply to email, forward email, 邮件, 收件箱, or wants to read, send, search, reply to, forward, or manage emails.

The English summary is being prepared. Showing the original description.

sigcli/sigcli292Updated Sep 28, 2026

reddit

Free

Interact with Reddit — browse subreddits, read posts and comments, search content, view user profiles, post comments, vote, save posts, subscribe to subreddits. Use this skill whenever the user mentions Reddit, r/, subreddit, wants to browse Reddit posts, read Reddit discussions, search Reddit, look up Reddit users, or interact with Reddit content. Also trigger when the user pastes a Reddit URL (e.g. reddit.com/r/programming/...) or mentions a subreddit name.

The English summary is being prepared. Showing the original description.

sigcli/sigcli292Updated Sep 28, 2026

See all skills by sigcli

Report a problem with this skill