Golfing with User Agents
The requests module, if allowed, is much shorter and easier than urllib in Python (2 and 3):

__import__('requests').get('url').text


On my computer, the user agent defaults to:

python-requests/2.3.0 CPython/3.4.3 Darwin/14.3.0