liuwons / liuwons/wxBot

为什么在程序外不能下载消息图片?

Open
#283 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Python
Stars
5.3k
Forks
1.6k
PR merge metrics
No merged PRs in 30d

Description

wxBot程序是通过session.get(url)获取消息图片的,但是我在程序外使用同一个函数和图片链接,却只返回状态200,没有图片内容返回。请问问题出现在哪呢?或者说对这个session有什么要求?https://wx.qq.com/cgi-bin/mmwebwx-bin/webwxgetmsgimg?MsgID=6829659093985341608&skey=@crypt_14ae1b12_1bb5e370393b8cd502919825fe9dbfc0

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

Read the wxBot code path that calls session.get(url), then compare it with an external request to the supplied webwxgetmsgimg endpoint. Done means identifying the required session context or producing a reproducible failure with a concrete change target; no file or test is named in the issue.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
api
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
20/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.