# 在 oneboxes 中下载 .webp 图片的功能已失效

**URL:** <https://meta.discourse.org/t/downloading-of-webp-images-in-oneboxes-is-broken/141602>\
**Category:** Bug\
**Created:** [2020 年2 月 12 日 08:10 UTC](https://meta.discourse.org/t/downloading-of-webp-images-in-oneboxes-is-broken/141602 "2020-02-12T08:10:55Z")\
**Posts on this page:** 1\
**Showing post:** 11

<div class="post-metadata">

作者： ![eviltrout](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/eviltrout/32/5275_2.png) [@eviltrout](https://meta.discourse.org/u/eviltrout)\
发布日期： [2020 年11 月 16 日 17:57 UTC](https://meta.discourse.org/t/downloading-of-webp-images-in-oneboxes-is-broken/141602/11 "2020-11-16T17:57:15Z")

</div>

> [@sam](#):
>
> 应该充分了解 Discourse 为何假装使用一个专为 Discourse 设计的特殊用户代理，而实际上并未使用。我模糊地记得，如果我们不“假装”，有些人就会阻止我们下载图片和一框（oneboxes）。

不幸的是，许多网站除非请求看起来来自浏览器，否则不会提供正确的内容。我怀疑，如果我们更改这一点，大多数来源会正常工作，但有一两个可能会出现异常。

一框（Onebox）往往是一场“打地鼠”游戏：修复了一个问题，另一个问题又会在别处冒出来。

---

_[View the full topic](https://meta.discourse.org/t/downloading-of-webp-images-in-oneboxes-is-broken/141602)._
