jackwener / jackwener/xiaohongshu-cli

Windows 10 Powershell 运行之后,出现无法发现Cookie的情况

Open
#37 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Python
Stars
2.6k
Forks
272
PR merge metrics
No merged PRs in 30d

Description

以下是错误信息

E:\UsersData\takec\AppData\Roaming\uv\tools\xiaohongshu-cli\Lib\site-packages\wmi.py:32: SyntaxWarning: "_" is an invalid escape sequence. Such sequences will not work in the future. Did you mean "\"? A raw string is also an option.
GetObjectText\_ method being called, which usually produces
E:\UsersData\takec\AppData\Roaming\uv\tools\xiaohongshu-cli\Lib\site-packages\wmi.py:917: SyntaxWarning: "_" is an invalid escape sequence. Such sequences will not work in the future. Did you mean "\
"? A raw string is also an option.
"""This is the equivalent to the raw-WMI SpawnInstance_
✗ Login verification failed: No 'a1' cookie found for xiaohongshu.com in any installed browser.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing the login flow on Windows 10 in PowerShell and inspect the installed-browser cookie lookup that reports no 'a1' cookie. Review the wmi.py warnings separately to determine whether they are relevant. Done means the reported browser cookie is found and login verification succeeds.

Written by the indexing model from the issue text.

Assessment

Tech stack
powershell, python
Domain
authentication, cli, operating-systems
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Quiet
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.