[imagevenue] fix 'NotFoundError' for valid image links (#8818)

This commit is contained in:
Mike Fährmann
2026-01-05 09:50:10 +01:00
parent 18edb03a24
commit 706fb752c6

View File

@@ -176,6 +176,11 @@ class ImagevenueImageExtractor(ImagehostImageExtractor):
r"/([A-Z0-9]{8,10}|view/.*|img\.php\?.*))")
example = "https://www.imagevenue.com/ME123456789"
@property
@memcache(maxage=3*3600)
def _cookies(self):
return self.request(self.page_url).cookies
def get_info(self, page):
try:
pos = page.index('class="card-body')