BF - change imports of urllib, urlparse for python3