Usually when performing an internet challenge, there's no problem with having to specify a user agent, but when it comes to dealing with Google, it changes.
Google blacklists the Urllib user agent, presumably to stop spambots, so you have to specify a user agent. This takes up many bytes, and is frankly rather annoying.
Example 1. Example 2. Example 3.
Note: I have updated my Python answers to use the tip suggested below
So how do you get around this problem using the shortest number of bytes?