update footer
This commit is contained in:
parent
5f8dbb9678
commit
feaa9e7c47
|
@ -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
|
||||
|
|
|
@ -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))
|
||||
|
|
Loading…
Reference in New Issue