urllib was deprecated a while ago, so if users are running python3 they need to import urllib.request instead.

NOTE: This is a legacy feature and may be deprecated in future.