diff --git a/telebot/modules/nhentai.py b/telebot/modules/nhentai.py
index cae457f..c13874c 100644
--- a/telebot/modules/nhentai.py
+++ b/telebot/modules/nhentai.py
@@ -66,6 +66,7 @@ def sauce(update: Update, context: CallbackContext) -> None:
"Code": f'{code}',
"Title": f'{doujin.title(Format.Pretty)}',
"Tags": _generate_anchor_tags(doujin.tag),
+ "Pages": f'{len(doujin.pages)}',
"Characters": _generate_anchor_tags(doujin.character),
"Parodies": _generate_anchor_tags(doujin.parody),
"Artists": _generate_anchor_tags(doujin.artist),
@@ -75,7 +76,7 @@ def sauce(update: Update, context: CallbackContext) -> None:
}
# add details to the reply to be sent to the user
- text_blob = "\n\n".join(f"{key}\n{value}" for key, value in data.items())
+ text_blob = "\n\n".join(f"{key}\n{value}" for key, value in data.items() if value)
# button with nhentai link
markup = InlineKeyboardMarkup.from_button(InlineKeyboardButton(text="Link to nHentai", url=doujin.url))