[nozomi] remove slashes from search terms (fixes #2653)

pull/2655/head
Mike Fährmann 2 years ago
parent ee7cea888e
commit 2687ef6bd9
No known key found for this signature in database
GPG Key ID: 5680CA389D365A88

@ -1,6 +1,6 @@
# -*- coding: utf-8 -*-
# Copyright 2019-2021 Mike Fährmann
# Copyright 2019-2022 Mike Fährmann
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License version 2 as
@ -201,6 +201,7 @@ class NozomiSearchExtractor(NozomiExtractor):
return decode_nozomi(self.request(url).content)
for tag in self.tags:
tag = tag.replace("/", "")
if tag[0] == "-":
if not index:
index = set(nozomi("index"))

Loading…
Cancel
Save