From 1dc7955ba293bb4fefcdb141fefd8135dfef5341 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mike=20F=C3=A4hrmann?= Date: Wed, 26 Nov 2025 18:35:58 +0100 Subject: [PATCH] [simpcity] extract "click to load media" URLs (#8609) --- gallery_dl/extractor/simpcity.py | 15 ++++++++++----- test/results/simpcity.py | 8 ++++++++ 2 files changed, 18 insertions(+), 5 deletions(-) diff --git a/gallery_dl/extractor/simpcity.py b/gallery_dl/extractor/simpcity.py index 41be2dae..caefe2ce 100644 --- a/gallery_dl/extractor/simpcity.py +++ b/gallery_dl/extractor/simpcity.py @@ -30,11 +30,14 @@ class SimpcityExtractor(Extractor): self.login() extract_urls = text.re( - r'(?s)<(?:' - r'video (.*?\ssrc="[^"]+".*?)' - r'|a [^>]*?href="(?:https://[^"]+)?(/attachments/[^"]+".*?)' - r'|div [^>]*?ata-src="(?:https://[^"]+)?(/attachments/[^"]+".*?)/>' - r'|(?:a [^>]*?href|iframe [^>]*?src)="([^"]+)' + r'(?s)(?:' + r'