purl icon indicating copy to clipboard operation
purl copied to clipboard

Don't correct parse host

Open temi4 opened this issue 4 years ago • 1 comments

Don't work with cyrillic domain

from purl import URL

url = "www.мастеркофе.рф"
parse_url = URL(url)

print(parse_url.host()) <- return ""

Don't detect host

temi4 avatar May 20 '21 21:05 temi4

It may be because the URL contains non-English language and special symbols in URL

Kaleemullahqasim avatar Aug 21 '23 03:08 Kaleemullahqasim