block by ThomasG77 d637d816765c59bf6b9d34430d1ca68a

HTML browser favorites to CSV recipe with CLI

HTML browser favorites to CSV

Need pup (Go based), jq (install as binary) and he (Node based)

Take the html export from your browser

cat your_favorites.html | pup a json{} | jq -c -r '["title","url"], (.[] | [.text,.href]) | @csv' | he --decode >| your_favorites_decoded.csv