diff options
Diffstat (limited to 'examples')
| -rw-r--r-- | examples/esbuild.github.io.js | 1 | ||||
| -rw-r--r-- | examples/pkg.go.dev.js | 4 |
2 files changed, 2 insertions, 3 deletions
diff --git a/examples/esbuild.github.io.js b/examples/esbuild.github.io.js index 8d26216..7a00478 100644 --- a/examples/esbuild.github.io.js +++ b/examples/esbuild.github.io.js @@ -2,6 +2,7 @@ import { parse } from "flyscrape"; export const options = { url: "https://esbuild.github.io/plugins/", + depth: 1, } export default function({ html }) { diff --git a/examples/pkg.go.dev.js b/examples/pkg.go.dev.js index 2481583..12aa308 100644 --- a/examples/pkg.go.dev.js +++ b/examples/pkg.go.dev.js @@ -5,10 +5,8 @@ export const options = { } export default function({ html }) { - console.log("start") const $ = parse(html); - console.log("done") - + return { package: $('h1').text().trim(), meta: { |