unfuck avanan urls
Find a file
2026-03-04 11:21:32 -05:00
README.md add snark 2026-03-04 11:21:32 -05:00
unfurl.py initial commit 2026-03-04 11:15:38 -05:00

unfurl.py

Is Avanan email protection forced on you? Do you click avanan-checked links only to get a stupid sad document icon with an inside-out umbrella telling you "something went wrong" when all you wanted to do was change your email preferences from some stupid newsletter?

That's all this script does. It "unfucks" the URL that avanan wrapped in its own rewritten link.

Conveniently, their urls use a predictable http://url.avanan.click/___your_actual_url___/moreavananbs

(side note: nice, totally not spammy looking .click tld /s)

This script just takes that jumbled URL, and plucks out the stuff between the ___'s.

Usage

interactive

unfurl.py

You'll be prompted for the url.

As argument

unfurl.py "avananlink"

As stdin

echo "avananlink" | unfurl.py

directly from your clipboard, and then put the cleaned one back on your clipboard

(using wayland's wl-copy/paste commands, but you can adjust based on whatever your clipboard manager is)

wl-paste | unfurl.py | wl-copyunf