python bypass

I was trying to automate a script that depends from (an ads service that force you to wait 5 second before redirect you the target page).

I was doing it in bash on a Raspberry PI so i can't use a greasemonkey script, i need it in bash or maybe in python.

Sure to find out something i spent 60 minutes on google looking for a solution: but i didn't find anything so i decide to do it myself.

Here you can find a little python script that needs as the first argument the link and it returns the link without asking anything.

I'm running it on a Raspberry PI with Archlinux.

In order to execute it, you need:

  • selenium
  • phantomjs

You can install it in this way:

sudo pip2 install selenium
sudo pacman -U phantomjs-1.9.1-1-armv6h.pkg.tar.xz

Now, you can run it with:


Happy hacking!