ParsePy icon indicating copy to clipboard operation
ParsePy copied to clipboard

urllib.error.URLError: <urlopen error unknown url type: b'http>,

Open imaxu opened this issue 5 years ago • 1 comments

with py3.8,I found a error when I save a file : urllib.error.URLError: <urlopen error unknown url type: b'http>, I found the codes:

        if cls.__name__ == 'File':
             request = Request(url.encode('utf-8'), data, headers)
         else:
             request = Request(url, data, headers)

it will be a bytes array when url.encode('utf-8'), why do this ?

imaxu avatar Aug 15 '20 07:08 imaxu

https://github.com/milesrichardson/ParsePy/issues/157

kilabyte avatar May 11 '23 15:05 kilabyte