fixed main py urllib error for python 3