mirror of
https://github.com/YGGverse/btracker-gemini.git
synced 2026-04-01 09:35:32 +00:00
add scrape separator
This commit is contained in:
parent
164e562acd
commit
ef2ae562ac
1 changed files with 2 additions and 2 deletions
|
|
@ -374,7 +374,7 @@ fn list(state: &State, keyword: Option<&str>, page: Option<usize>) -> Result<Str
|
||||||
state
|
state
|
||||||
.scrape
|
.scrape
|
||||||
.get(i.info_hash.0)
|
.get(i.info_hash.0)
|
||||||
.map(|s| format!(" ↑ {} ↓ {} ⏲ {}", s.seeders, s.peers, s.leechers))
|
.map(|s| format!(" • ↑ {} ↓ {} ⏲ {}", s.seeders, s.peers, s.leechers))
|
||||||
.unwrap_or_default()
|
.unwrap_or_default()
|
||||||
));
|
));
|
||||||
}
|
}
|
||||||
|
|
@ -449,7 +449,7 @@ fn info(state: &State, torrent: Torrent) -> Result<String> {
|
||||||
state
|
state
|
||||||
.scrape
|
.scrape
|
||||||
.get(i.info_hash.0)
|
.get(i.info_hash.0)
|
||||||
.map(|s| format!(" ↑ {} ↓ {} ⏲ {}", s.seeders, s.peers, s.leechers))
|
.map(|s| format!(" • ↑ {} ↓ {} ⏲ {}", s.seeders, s.peers, s.leechers))
|
||||||
.unwrap_or_default()
|
.unwrap_or_default()
|
||||||
));
|
));
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue