diff options
| author | Jan Tuomi <jans.tuomi@gmail.com> | 2023-09-13 13:38:46 +0300 |
|---|---|---|
| committer | Jan Tuomi <jans.tuomi@gmail.com> | 2023-09-13 13:38:46 +0300 |
| commit | cc8f1632a859a414dd3f7ab3d23d341c36a36a6a (patch) | |
| tree | 85181e462173112b7b132924ee31e44f6e7aeeb0 /plugins/ScraperSourcePlugin.py | |
| parent | 1fe06b48413c053d072b381fec54d14219088baf (diff) | |
Strip quotes from around background-image urls
Diffstat (limited to 'plugins/ScraperSourcePlugin.py')
| -rw-r--r-- | plugins/ScraperSourcePlugin.py | 2 |
1 files changed, 1 insertions, 1 deletions
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: |
