X-Git-Url: https://git.rapsys.eu/youtubedl/blobdiff_plain/46ef599ac108f9d54c9d505ef1ac1c62dde6bbbe..ef2d059988ee523e76933953419ba32637860796:/debian/watch

diff --git a/debian/watch b/debian/watch
index 68c1d1e..b94a9fd 100644
--- a/debian/watch
+++ b/debian/watch
@@ -1,6 +1,4 @@
-version=3
-#
-#http://bitbucket.org/rg3/youtube-dl/wiki/Home http://bitbucket.org/rg3/youtube-dl/raw/(.*)/youtube-dl
-#http://bitbucket.org/rg3/youtube-dl/get/(.*).gz
-#
-http://bitbucket.org/rg3/youtube-dl/downloads/ (?:.*/)?(\d+\.\d+\.\d+)\.tar\.gz
+version=4
+opts="dversionmangle=s/\+dfsg\d*$//,pgpsigurlmangle=s/$/.sig/" \
+https://github.com/rg3/youtube-dl/releases \
+     (?:.*?/)?v?youtube-dl-(\d[\d.]*)\.tar\.gz debian uupdate