mirror of
https://github.com/mikf/gallery-dl.git
synced 2024-11-22 10:42:34 +01:00
[furaffinity] unquote search queries (#1958)
instead of unescape (unquote -> url params, unescape -> html entities)
This commit is contained in:
parent
8d676151b7
commit
975e0a4fe0
@ -250,7 +250,7 @@ class FuraffinitySearchExtractor(FuraffinityExtractor):
|
||||
FuraffinityExtractor.__init__(self, match)
|
||||
self.query = text.parse_query(match.group(2))
|
||||
if self.user and "q" not in self.query:
|
||||
self.query["q"] = text.unescape(self.user)
|
||||
self.query["q"] = text.unquote(self.user)
|
||||
|
||||
def metadata(self):
|
||||
return {"search": self.query.get("q")}
|
||||
|
Loading…
Reference in New Issue
Block a user