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

This commit is contained in:
Mike Fährmann
2022-06-02 22:17:15 +02:00
parent ee7cea888e
commit 2687ef6bd9

View File

@@ -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"))