mirror of
https://github.com/mendableai/firecrawl.git
synced 2024-11-16 03:32:22 +08:00
Merge pull request #856 from mendableai/feat/iframe-support
Fix go parser
This commit is contained in:
commit
c8b8a761a9
|
@ -15,7 +15,7 @@ class GoMarkdownConverter {
|
|||
private convert: any;
|
||||
|
||||
private constructor() {
|
||||
const goExecutablePath = join(__dirname, 'go-html-to-md/html-to-markdown.so');
|
||||
const goExecutablePath = join(process.cwd(), 'sharedLibs', 'go-html-to-md', 'html-to-markdown.so');
|
||||
const lib = koffi.load(goExecutablePath);
|
||||
this.convert = lib.func('ConvertHTMLToMarkdown', 'string', ['string']);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user