simplfy my_urlopen() for python3+