Home | History | Annotate | Download | only in utils

Lines Matching refs:parse

10 import urllib.request, urllib.error, urllib.parse
34 self.parse(content)
40 def parse(self, content):
44 tree = p.parse(content)
76 url = urllib.parse.urldefrag(link.attrib['href'])[0]
87 splitURL = list(urllib.parse.urlsplit(url))
91 splitURL[1] = urllib.parse.urlsplit(self.currentURL)[1]
92 newUrls.add(urllib.parse.urlunsplit(splitURL))
114 robotURL = list(urllib.parse.urlsplit(url)[:2])
116 robotURL = urllib.parse.urlunsplit(robotURL)