diff options
| author | Philipp Tanlak <philipp.tanlak@gmail.com> | 2023-08-10 18:18:01 +0200 |
|---|---|---|
| committer | Philipp Tanlak <philipp.tanlak@gmail.com> | 2023-08-10 18:18:01 +0200 |
| commit | 7e4cf39a0ba6ccbd5cc036700a8b1ff9358ecc3d (patch) | |
| tree | 0f48b46e70162bad117f9f50d297487dee33266f /examples | |
| parent | a9b61f84070cc7ca0d6e26f187c745619a91422a (diff) | |
improve
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: { |