version=3
# Upstream does not release tarballs, but there is a news page showing releases.
-# If the release pages were tarballs, the uscan line would look like:
-# https://joeyh.name/code/filters/ news/version_([0-9.]+)
+opts=downloadurlmangle=s/.*// \
+https://joeyh.name/code/filters/ .*/news/version_([0-9.]+)/