X-Git-Url: https://git.rapsys.eu/youtubedl/blobdiff_plain/16bc3ce7c4083ef5aada74702570833b8014f4d4..674792cb64e32911631a5bbac2cddcfe25c8d68f:/debian/watch

diff --git a/debian/watch b/debian/watch
index c9d2c2e..1df688e 100644
--- a/debian/watch
+++ b/debian/watch
@@ -1,2 +1,3 @@
 version=3
-http://githubredir.debian.net/github/rg3/youtube-dl (?:.*/)?(\d+\.\d+\.\d+)\.tar\.gz
+opts=dversionmangle=s/\+dfsg\d*$// \
+https://github.com/rg3/youtube-dl/tags .*/(?:v||youtube-dl-)(\d.*)\.(?:tgz|tbz2|txz|tar\.(?:gz|bz2|xz))