successfully figured out user-agent in python, in test.py