ballerburg9005 / wget-2-zim

creates ZIM files for Kiwix from arbitrary websites with wget and some nifty tricks (doesn't need ServiceWorkers)
GNU General Public License v3.0
78 stars 4 forks source link

Image hotlinking detection triggered #4

Closed sindastra closed 1 year ago

sindastra commented 1 year ago

For some reason, wget-2-zim.sh triggers Cloudflare's image hotlink detection.

According to the above linked documenation:

Hotlink Protection will deny access to requests when the HTTP referer does not include your website domain name (and is not blank).

I looked at wget-2-zim.sh and I am currently testing a fix. If it works, I'll open a PR.

sindastra commented 1 year ago

I have successfully tested a fix and submitted a PR.

ballerburg9005 commented 1 year ago

Ok thanks. But weird, the way it was before should have done the exact same thing.