Skip to content

Commit

Permalink
docs: add comments
Browse files Browse the repository at this point in the history
  • Loading branch information
OpportunityLiu committed Apr 23, 2024
1 parent b4eb2e4 commit cc4df01
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/shared/ehentai/normalize-tag.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ let useEx = true;
/** 访问搜索页面,返回文档内容 */
async function searchTagImpl(raw: RawTag, setExtendView = false): Promise<string> {
// workaround for blocked keywords https://ehwiki.org/wiki/Gallery_Searching#Search_Limitations
// eg: artist:incognitymous
const base = `https://${useEx ? 'ex' : 'e-'}hentai.org/`;
const search =
`f_search=${encodeURIComponent(`"${raw}"`)}&f_cats=0&f_sfl=on&f_sfu=on&f_sft=on` +
Expand Down

0 comments on commit cc4df01

Please sign in to comment.