update footer

This commit is contained in:
explosiver 2024-04-22 12:05:26 +08:00
parent 5f8dbb9678
commit feaa9e7c47
2 changed files with 5 additions and 2 deletions

View File

@ -160,7 +160,7 @@ impl Collector for NHCollector {
.and_then(Response::error_for_status)?
.json()
.await?;
let title = album.title.title(|| format!("Nhentai-{album_id}"));
let title = album.title.title(|| format!("nhentai-{album_id}"));
let image_urls = album
.images
.pages

View File

@ -269,7 +269,10 @@ fn write_footer(content: &mut Vec<Node>, original_link: &str, next_page: Option<
if let Some(page) = next_page {
content.push(np!(na!(@page, nt!("Next Page"))));
}
content.push(np!(nt!("Generated by eh2telegraph.")));
content.push(np!(
nt!("Generated by "),
na!(@"https://github.com/qini7-sese/eh2telegraph", nt!("eh2telegraph"))
));
content.push(np!(
nt!("Original link: "),
na!(@original_link, nt!(original_link))