[simpcity] extract URLs from iframe embeds (#8214)

This commit is contained in:
Mike Fährmann
2025-09-15 17:02:41 +02:00
parent 835dfae345
commit 657d909865

View File

@@ -20,7 +20,8 @@ class SimpcityExtractor(Extractor):
root = "https://simpcity.cr"
def items(self):
extract_urls = text.re(r' href="([^"]+)').findall
extract_urls = text.re(
r'<(?:a [^>]*?href|iframe [^>]*?src)="([^"]+)').findall
for post in self.posts():
urls = extract_urls(post["content"])