fix: telegram archiver was outdated for images

This commit is contained in:
msramalho
2023-07-11 12:15:56 +01:00
parent abaf86c776
commit 92569ae6be
3 changed files with 4 additions and 3 deletions

View File

@@ -48,7 +48,8 @@ class TelegramArchiver(Archiver):
video = s.find("video")
if video is None:
logger.warning("could not find video")
image_tags = s.find_all(class_="js-message_photo")
image_tags = s.find_all(class_="tgme_widget_message_photo_wrap")
logger.info(image_tags)
image_urls = []
for im in image_tags: