adding function to follow redirects
Merge branch 'master' of github.com:bastinat0r/yaib