Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions scrapers/Affect3DStore/Affect3DStore.py
Original file line number Diff line number Diff line change
Expand Up @@ -78,6 +78,8 @@ def scene_from_url(_url: str) -> ScrapedScene | None:
# image
if main_product_photo := tree.xpath('//img[@alt="main product photo"]/@src'):
scene['image'] = main_product_photo[0]
# url
scene["urls"] = [_url]
except Exception as e:
log.error("Error scraping scene from URL: %s" % e)
return None
Expand Down