Skip to content

Comments

Xhs crawler#8

Open
AlveinTeng wants to merge 14 commits intoVictorS67:masterfrom
AlveinTeng:xhs
Open

Xhs crawler#8
AlveinTeng wants to merge 14 commits intoVictorS67:masterfrom
AlveinTeng:xhs

Conversation

@AlveinTeng
Copy link
Collaborator

There is only one universal API endpoint for XHS Crawlers. Currently, task types are defined within the request body. At this stage, the crawler supports retrieving userInfo only.

Usage Example

Endpoint:

POST http://localhost:5127/api/v1/xhs/start

Request Body:

{
    "creatorId": "6811ee8e0000000021000c15",
    "loginType": "cookie",
    "cookieStr": "abRequestId=xxx123; webBuild=4.62.3; xsecappid=xhs-pc-web; a1=19698cb0fadyveff11i03ufb0y5ryyfrdvnkt031w30000372858; webId=427240e63288d6c6e521efe6dda6c292; acw_tc=0a5087fc17463201672546789eab03d9a433f035f024eac4bc52d146a293e9; websectiga=6169c1e84f393779a5f7de7303038f3b47a78e47be716e7bec57ccce17d45f99; sec_poison_id=40246a45-4e43-4c4f-8f23-1952fff9220a; unread={%22ub%22:%2264c22894000000000c03648a%22%2C%22ue%22:%2263dbee2f000000001a01fe0f%22%2C%22uc%22:20}; gid=yjKjYSDK48fWyjKjYSD8ih8q0fvhdiiyy38qIyE7iD8v2Tq8FvviF9888qWJY2Y8f2ydJijf; web_session=040069b76d19195d424527f3233a4bf64c7306; loadts=1746320282210",
    "task": "creator"  //Other in developing tasks are: login, creatorNotes
}

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.

1 participant