From 7cb29224f0ce95478507e208b7590dfaed004067 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mike=20F=C3=A4hrmann?= Date: Sun, 23 Jan 2022 01:03:37 +0100 Subject: [PATCH] [philomena] fix search parameter escaping (#2215) The pluses from search terms in /tags/ URLs need to be replaced with spaces to get accepted by Philomena. --- gallery_dl/extractor/philomena.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gallery_dl/extractor/philomena.py b/gallery_dl/extractor/philomena.py index 6377fb0f..92b81131 100644 --- a/gallery_dl/extractor/philomena.py +++ b/gallery_dl/extractor/philomena.py @@ -172,7 +172,7 @@ class PhilomenaSearchExtractor(PhilomenaExtractor): PhilomenaExtractor.__init__(self, match) groups = match.groups() if groups[-1]: - q = groups[-1] + q = groups[-1].replace("+", " ") for old, new in ( ("-colon-" , ":"), ("-dash-" , "-"),