MCPcopy Create free account
hub / github.com/cxapython/catvm / location_path

Method location_path

selenium/shannon_spider/util/rfc6266.py:112–116  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

110
111 @property
112 def location_path(self):
113 if self.location:
114 return percent_decode(
115 urlsplit(self.location, scheme='http').path,
116 encoding='utf-8')
117
118 def filename_sanitized(self, extension=None, default_filename=None):
119 """Returns a filename that is safer to use on the filesystem.

Callers

nothing calls this directly

Calls 1

percent_decodeFunction · 0.85

Tested by

no test coverage detected