mirror of
https://github.com/YGGverse/aquatic-crawler.git
synced 2026-04-01 01:25:36 +00:00
implement info-hash enum
This commit is contained in:
parent
b3bf89b6f7
commit
dcbb4108fd
3 changed files with 23 additions and 8 deletions
|
|
@ -98,6 +98,8 @@ async fn main() -> Result<()> {
|
|||
continue;
|
||||
}
|
||||
} {
|
||||
// convert to string once
|
||||
let i = i.to_string();
|
||||
// is already indexed?
|
||||
if index.has(&i) {
|
||||
continue;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue