aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--misc/.bashrc2
1 files changed, 2 insertions, 0 deletions
diff --git a/misc/.bashrc b/misc/.bashrc
index 5f8c3cf..11b805d 100644
--- a/misc/.bashrc
+++ b/misc/.bashrc
@@ -125,6 +125,8 @@ alias updatedb='sudo updatedb'
alias wgets="wget -O- 2>/dev/null"
# get url behind one redirection
alias wgre="wget --spider --max-redirect=0"
+# wget with spoofing googlebot
+alias wggb='wget --header="X-Forwarded-For: 66.249.66.1" --user-agent="Mozilla/5.0 (compatible; Googlebot/2.1; +http://www.google.com/bot.html)"'
# this allows to open an url with tor-browser from within emacs, see
# `my-browse-url-tor-browser'
alias tor-browser="tor-browser --allow-remote"