support query in the URL
This commit is contained in:
parent
5505443132
commit
57c69df5b6
|
@ -399,6 +399,8 @@ class GeminiItem():
|
||||||
self.path = self.url
|
self.path = self.url
|
||||||
else:
|
else:
|
||||||
self.path = parsed.path
|
self.path = parsed.path
|
||||||
|
if parsed.query:
|
||||||
|
self.path += "/" + parsed.query
|
||||||
self.local = False
|
self.local = False
|
||||||
self.host = parsed.hostname
|
self.host = parsed.hostname
|
||||||
#if not local, we create a local cache path.
|
#if not local, we create a local cache path.
|
||||||
|
|
Loading…
Reference in New Issue
Block a user