support query in the URL

This commit is contained in:
Lionel Dricot 2022-01-19 18:44:39 +01:00
parent 5505443132
commit 57c69df5b6
1 changed files with 2 additions and 0 deletions

View File

@ -399,6 +399,8 @@ class GeminiItem():
self.path = self.url
else:
self.path = parsed.path
if parsed.query:
self.path += "/" + parsed.query
self.local = False
self.host = parsed.hostname
#if not local, we create a local cache path.