Skip to content

Instantly share code, notes, and snippets.

@knowsuchagency
Created November 10, 2025 08:22
Show Gist options
  • Select an option

  • Save knowsuchagency/fd7e91cb5255545fba6a3e3e64a1cf04 to your computer and use it in GitHub Desktop.

Select an option

Save knowsuchagency/fd7e91cb5255545fba6a3e3e64a1cf04 to your computer and use it in GitHub Desktop.
scrape task recipe
[tasks.scrape]
description = "scrape and extract readable content from a URL using readability-cli"
usage = '''
arg "<url>" help="URL to scrape and extract readable content from"
'''
run = "curl -s \"$usage_url\" | npx -y mozilla-readability-cli \"$usage_url\" | uvx html2text --ignore-links"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment