Lines Matching refs:urllib
14 import urllib.parse
15 import urllib.request
57 self.host, self.path = urllib.parse.urlparse(url)[1:3]
62 f = urllib.request.urlopen(self.url)
63 except urllib.error.HTTPError as err:
114 line[1] = urllib.parse.unquote(line[1].strip())
168 parsed_url = urllib.parse.urlparse(urllib.parse.unquote(url))
169 url = urllib.parse.urlunparse(('','',parsed_url.path,
171 url = urllib.parse.quote(url)
222 path = urllib.parse.urlunparse(urllib.parse.urlparse(path))
223 self.path = urllib.parse.quote(path)