python3 support and useragents