support query in the URL

This commit is contained in:
Lionel Dricot 2022-01-19 18:44:39 +01:00
parent 5505443132
commit 57c69df5b6

View File

@ -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.