Skip to content

Commit

Permalink
feat: dynamic website crawler (labring#2609)
Browse files Browse the repository at this point in the history
* feat: cheerio returns cherrio.load for pro version website sync

* chore: rename
  • Loading branch information
FinleyGe committed Sep 10, 2024
1 parent 19a08ae commit 1b2dd16
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions packages/service/common/string/cheerio.ts
Original file line number Diff line number Diff line change
Expand Up @@ -101,3 +101,5 @@ export const urlsFetch = async ({

return response;
};

export const loadContentByCheerio = async (content: string) => cheerio.load(content);

0 comments on commit 1b2dd16

Please sign in to comment.