Skip to content

使用room.avatar()报错 #90

@Ted20230101

Description

@Ted20230101

使用room.avatar()报错获取群聊头像报错:TypeError [ERR_INVALID_URL]: Invalid URL
at new NodeError (node:internal/errors:405:5)
at new URL (node:internal/url:676:13)
at FileBox.fromUrl (file:///Users/luoka/wechat-bot/node_modules/file-box/dist/esm/src/file-box.js:73:31)
at PuppetWechat4u.roomAvatar (file:///Users/luoka/wechat-bot/node_modules/wechaty-puppet-wechat4u/dist/esm/src/puppet-wechat4u.js:717:28)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5) {
input: '/cgi-bin/mmwebwx-bin/webwxgetheadimg?seq=0&username=@@4a9b21861fd1acc03dfced9161780f4a394b4786a47db8c81abe9015c8c6fd8c&skey=@crypt_f92529ab_9daa7650265e2c930125a4ef2252b9dd',
code: 'ERR_INVALID_URL'
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions