allowed for urls too + python3 support