Skip to main content
tdro

Another wandering soul screaming into the void. If you are looking for my blog you are in the wrong place. The profile and header pictures are brought to you by @cdd20.

tdro micro.thedroneely.com (edited) view markdown plaintext permalink sep 27 2022 24 sec 72/50 words

Chrome --headless can dump the to the command line. Set a virtual time budget in [?] for the to settle down and then do stuff.

shell
Html() {
  chromium \
    --headless \
    --dump-dom \
    --virtual-time-budget=999999 \
    "$1"
}

HtmlToText() {
  lynx -stdin -dump -nolist
}

This has “peculiar” uses. Fun fact: invoking the name of chromium around normal people confers alien–like status.

shell
Html 'https://www.youtube.com/' | HtmlToText
#gists

Authors

Picture Gallery

Following

Web Ring