From cc8f1632a859a414dd3f7ab3d23d341c36a36a6a Mon Sep 17 00:00:00 2001 From: Jan Tuomi Date: Wed, 13 Sep 2023 13:38:46 +0300 Subject: Strip quotes from around background-image urls --- plugins/ScraperSourcePlugin.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/ScraperSourcePlugin.py b/plugins/ScraperSourcePlugin.py index d782bf3..4a01d19 100644 --- a/plugins/ScraperSourcePlugin.py +++ b/plugins/ScraperSourcePlugin.py @@ -158,7 +158,7 @@ class Plugin(PluginInterface): raise Exception( f"{self.log_prefix} weird regex result when looking for background-image" ) - image_src = match.group("url") + image_src = match.group("url").strip("'\"") else: image_src = None else: -- cgit v1.3