This wget recipe shows you how to set a custom HTTP referrer header in the request using --referer=URL.

Set a Fake Referrer

wget --referer=https://google.com https://catonmat.net

This recipe uses --referer to pretend that the request came from https://google.com. Some websites require this to grant access.

Created by Browserling

These wget recipes were written down by me and my team at Browserling. We use recipes like this every day to get things done and improve our product. Browserling itself is an online cross-browser testing service powered by alien technology. Check it out!

Secret message: If you love my wget recipe, then I love you, too! Use coupon code WGETLING to get a discount at my company.