[everia] improve/fix image extraction (#7270)

This commit is contained in:
Mike Fährmann
2025-03-30 18:36:54 +02:00
parent becdfbd806
commit 4143e8e8b3
2 changed files with 31 additions and 2 deletions

View File

@@ -52,7 +52,7 @@ class EveriaPostExtractor(EveriaExtractor):
def items(self):
url = self.root + self.groups[0]
page = self.request(url).text
content = text.extr(page, 'itemprop="text">', "</div>")
content = text.extr(page, 'itemprop="text">', "<h3")
urls = re.findall(r'img.*?src="([^"]+)', content)
data = {