path += ('#' if self.urlparsed[5] else '') + self.urlparsed[5]