weserv / images

Source code of wsrv.nl (formerly images.weserv.nl), to be used on your own server(s).
https://wsrv.nl/
BSD 3-Clause "New" or "Revised" License
1.86k stars 187 forks source link

The IP address request is too large and is blocked. How to unseal it #284

Closed zhuang010203 closed 3 years ago

zhuang010203 commented 3 years ago

The IP address request is too large and is blocked. How to unseal it

andrieslouw commented 3 years ago

Is your IP-address blocked, or is the URL blocked? Could you provide the exact error-message, or a screenshot?

zhuang010203 commented 3 years ago

https://images.weserv.nl/?url=https://share.dmca.gripe/1PpGy1H1dd6kUU5c.png&default=www.z6z.xyz/index/public/images/downloaderrer.jpg

zhuang010203 commented 3 years ago

image

zhuang010203 commented 3 years ago

Should IP be blocked? The local computer can access the URL normally, and the server cannot import img

zhuang010203 commented 3 years ago

I used requests to simulate requests, all imgurls, pre caching

zhuang010203 commented 3 years ago

Is IP blocked because of too many requests

andrieslouw commented 3 years ago

Our scripts did block a large number of .xyz domains due to too many requests, DMCA claims and pornography. It is hard for us to keep up with all these reports, so that's the reason they are blocked. Especially pornography is not allowed on the public API to prevent our service from getting blocked by others. Please use the source-code to host your own version in this case.

In addition, there are rate-limits on the public API, see: https://images.weserv.nl/news/2019/09/01/introducing-api-5/#improved-rate-limiter

zhuang010203 commented 3 years ago

Pictures can only be considered sexy... How to judge pornographic, quite outrageous... I build an API, thank you

andrieslouw commented 3 years ago

Please do so, or else our service will be blocked in corporate firewalls etc. Let us know if you run into problems hosting the source code, many others are hosting themselves.