gpt4 book ai didi

api - 如何解码事物的 Steam 图像网址?

转载 作者:行者123 更新时间:2023-12-01 23:30:37 27 4
gpt4 key购买 nike

Steam 图片的 url 是这样的:

http://steamcommunity-a.akamaihd.net/economy/image/-9a81dlWLwJ2UUGcVs_nsVtzdOEdtWwKGZZLQHTxDZ7I56KU0Zwwo4NUX4oFJZEHLbXQ9QVcJY8gulRNRULFV_eS1M7DQEh4IEtDt7ekOQYu1aOQcGgSutizwIPYw6-mYe-AzzhQ68Mj2rmRpd-g3gXm80s9Zm_2cZjVLFH7KrlnRw/330x192

在API中可以找到这些字符串:

-9a81dlWLwJ2UUGcVs_nsVtzdOEdtWwKGZZLQHTxDZ7I56KU0Zwwo4NUX4oFJZEHLbXQ9QVcJY8gulRNRULFV_eS1M7DQEh4IEtDt7ekOQYu1aOQcGgSutizwIPYw6-mYe-AzzhQ68Mj2rmRpd-g3gXm80s9Zm_2cZjVLFH7KrlnRw

有没有办法解密?

最佳答案

我认为这是题外话。

这可能是图像哈希而不是图像本身。然后,您应该以与浏览器相同的方式调用以下载所述图像。

来自 steam API 文档:

img_icon_url, img_logo_url - these are the filenames of various images for the game. To construct the URL to the image, use this format: http://media.steampowered.com/steamcommunity/public/images/apps/{appid}/{hash}.jpg . For example, the TF2 logo is returned as "07385eb55b5ba974aebbe74d3c99626bda7920b8", which maps to the URL: [1]

关于api - 如何解码事物的 Steam 图像网址?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/38153943/

27 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com