diff options
Diffstat (limited to 'tools/fetch_url_via_curl.sh')
| -rwxr-xr-x | tools/fetch_url_via_curl.sh | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/tools/fetch_url_via_curl.sh b/tools/fetch_url_via_curl.sh index 540984e..508b7cf 100755 --- a/tools/fetch_url_via_curl.sh +++ b/tools/fetch_url_via_curl.sh @@ -2,9 +2,12 @@ set -e # @describe Extract the content from a given URL. -# @meta require-tools pandoc # @option --url! The URL to scrape. +# @meta require-tools pandoc + +# @env LLM_OUTPUT=/dev/stdout The output path + main() { # span and div tags are dropped from the HTML https://pandoc.org/MANUAL.html#raw-htmltex and sed removes any inline SVG images in image tags from the Markdown content. curl -fsSL "$argc_url" | \ |
