# Referer付きでリモート画像をダウンロード（プラグイン可能？）

**URL:** <https://meta.discourse.org/t/download-remote-images-with-referer-plugin-possible/260027>\
**Category:** Development\
**Created:** [2023 年 3 月 30 日午後 10:08 UTC](https://meta.discourse.org/t/download-remote-images-with-referer-plugin-possible/260027 "2023-03-30T22:08:53Z")\
**Posts on this page:** 1\
**Showing post:** 6

<div class="post-metadata">

**Author:** ![RGJ](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/rgj/32/523185_2.png) [@RGJ](https://meta.discourse.org/u/RGJ)\
**Post date:** [2023 年 3 月 31 日午前 6:52 UTC](https://meta.discourse.org/t/download-remote-images-with-referer-plugin-possible/260027/6 "2023-03-31T06:52:49Z")

</div>

著作権で保護された画像へのアクセスを保護するために使用される方法や、元の画像へのアクセスを制御する方法を回避することは、利用規約違反にはなりませんが、DMCA違反（または他国の別の著作権法の違反）になる可能性があります。

> [@shyguy](#):
>
> それ自体が悪いことである場合、それはどのような場合ですか？

リファラーヘッダーの偽装は「良いウェブ市民」とは言えないと思いますし、DMCAが適用される場合、そのようなソフトウェアを配布することは違法でさえあります。

多くのインポートスクリプトには、添付ファイルのダウンロード用の独自のコードがあります。正規表現を作成し、リファラーを含めて、インラインのPhotobucket画像にもそのロジックを適用することを検討しましたか？

---

_[View the full topic](https://meta.discourse.org/t/download-remote-images-with-referer-plugin-possible/260027)._
