Skip to content

Commit feaa9e7

Browse files
committed
update footer
1 parent 5f8dbb9 commit feaa9e7

File tree

2 files changed

+5
-2
lines changed

2 files changed

+5
-2
lines changed

eh2telegraph/src/collector/nhentai.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -160,7 +160,7 @@ impl Collector for NHCollector {
160160
.and_then(Response::error_for_status)?
161161
.json()
162162
.await?;
163-
let title = album.title.title(|| format!("Nhentai-{album_id}"));
163+
let title = album.title.title(|| format!("nhentai-{album_id}"));
164164
let image_urls = album
165165
.images
166166
.pages

eh2telegraph/src/sync.rs

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -269,7 +269,10 @@ fn write_footer(content: &mut Vec<Node>, original_link: &str, next_page: Option<
269269
if let Some(page) = next_page {
270270
content.push(np!(na!(@page, nt!("Next Page"))));
271271
}
272-
content.push(np!(nt!("Generated by eh2telegraph.")));
272+
content.push(np!(
273+
nt!("Generated by "),
274+
na!(@"https://github.com/qini7-sese/eh2telegraph", nt!("eh2telegraph"))
275+
));
273276
content.push(np!(
274277
nt!("Original link: "),
275278
na!(@original_link, nt!(original_link))

0 commit comments

Comments
 (0)