use SourceForge release API
This commit is contained in:
parent
d17d6af38d
commit
b83e852315
3 changed files with 6 additions and 6 deletions
|
|
@ -5,8 +5,8 @@ class Avidemux extends PatchBase {
|
|||
parent::__construct('Mean', 'Avidemux', 'http://avidemux.sourceforge.net/download.html');
|
||||
}
|
||||
function check() : bool {
|
||||
if ($this->fetch('http://avidemux.sourceforge.net/download.html'))
|
||||
return $this->parse('/avidemux_([\d\.]+)\.tar\.gz/');
|
||||
if ($this->fetch_json('https://sourceforge.net/projects/avidemux/best_release.json'))
|
||||
return $this->parse_json('filename', '/^\/avidemux\/(.+)\//');
|
||||
return false;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue