Skip to content

Commit

Permalink
feat: 优化搜索策略
Browse files Browse the repository at this point in the history
  • Loading branch information
OpportunityLiu committed Apr 27, 2024
1 parent 56a1eac commit 6aaf9b8
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/shared/ehentai/normalize-tag.ts
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,6 @@ async function searchTagImpl(ns: NamespaceName, raw: RawTag, useNs: boolean): Pr
// workaround for blocked keywords https://ehwiki.org/wiki/Gallery_Searching#Search_Limitations
// eg: artist:incognitymous
const term = getSearchTerm(useNs ? ns : undefined, raw, useNs);
console.log(term);
const result = await getSearchPage(term);
let found = false;
const tags = result.matchAll(/<div class="gtl?" title="([a-z]+):([-a-z0-9. ]+)">/g);
Expand Down

0 comments on commit 6aaf9b8

Please sign in to comment.