Use hash extracting for youtube-dl

This commit is contained in:
Richard Kuhnt 2017-02-27 18:20:31 +01:00
parent 653b9192bd
commit f3faf8d2f0

View File

@ -12,6 +12,11 @@
"github": "https://github.com/rg3/youtube-dl"
},
"autoupdate": {
"url": "https://github.com/rg3/youtube-dl/releases/download/$version/youtube-dl.exe"
"url": "https://github.com/rg3/youtube-dl/releases/download/$version/youtube-dl.exe",
"hash": {
"mode": "extract",
"url": "https://github.com/rg3/youtube-dl/releases/download/$version/SHA2-256SUMS",
"find": "([a-z0-9]{64})\\s+(?:$basename)"
}
}
}