Skip to content

Commit

Permalink
update footer
Browse files Browse the repository at this point in the history
  • Loading branch information
explosiver committed Apr 22, 2024
1 parent 5f8dbb9 commit feaa9e7
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
2 changes: 1 addition & 1 deletion eh2telegraph/src/collector/nhentai.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
5 changes: 4 additions & 1 deletion eh2telegraph/src/sync.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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))
Expand Down

0 comments on commit feaa9e7

Please sign in to comment.