Compare commits

..

2 Commits

Author SHA1 Message Date
Daniel Kilimnik
ca60b2a2df
Merge f99abbb2c11acc0b6ab7c1672b2e8228b5f1ead0 into 89d3aece041c85ebe5a1ad4e620388af5227cbb0 2025-03-25 12:29:01 +01:00
Daniel Kilimnik
f99abbb2c1 Save and server thumbnails locally 2025-03-25 12:28:44 +01:00

View File

@ -109,6 +109,7 @@ async def reupload_pack(client: TelegramClient, pack: StickerSetFull, output_dir
}, pack_file, ensure_ascii=False)
print(f"Saved {pack.set.title} as {pack.set.short_name}.json")
util.add_thumbnails(list(reuploaded_documents.values()), stickers_data, output_dir)
util.add_to_index(os.path.basename(pack_path), output_dir)