Compare commits
4 commits
36fdcdbb2c
...
7fe3791456
| Author | SHA1 | Date | |
|---|---|---|---|
| 7fe3791456 | |||
| 863d63e605 | |||
| 9f8fb4e7fd | |||
| 83d8c15afe |
4 changed files with 17 additions and 3 deletions
|
|
@ -6,7 +6,7 @@ class Blender extends PatchBase {
|
|||
}
|
||||
function check() : bool {
|
||||
if ($this->fetch('https://www.blender.org/download/'))
|
||||
return $this->parse('/Download Blender ([\d\.]+)( LTS)?/');
|
||||
return $this->parse('_//www\.blender\.org/download/release/Blender[\d\.]+/blender-([\d\.]+)-windows-x64\.msi_');
|
||||
return false;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
14
modules/NewPipe.php
Normal file
14
modules/NewPipe.php
Normal file
|
|
@ -0,0 +1,14 @@
|
|||
<?php
|
||||
|
||||
class NewPipe extends PatchBase {
|
||||
function __construct() {
|
||||
parent::__construct('Team NewPipe', 'NewPipe', 'https://newpipe.net/');
|
||||
}
|
||||
function check() : bool {
|
||||
if ($this->fetch_json('https://api.github.com/repos/TeamNewPipe/NewPipe/releases/latest'))
|
||||
return $this->parse_json('tag_name');
|
||||
return false;
|
||||
}
|
||||
}
|
||||
|
||||
?>
|
||||
|
|
@ -6,7 +6,7 @@ class OPNsense extends PatchBase {
|
|||
}
|
||||
function check() : bool {
|
||||
if ($this->fetch('https://opnsense.org/download/'))
|
||||
return $this->parse('/data-version=\'([\d.]+)\'/');
|
||||
return $this->parse('/data-version="([\d.]+)"/');
|
||||
return false;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -6,7 +6,7 @@ class PaintNet extends PatchBase {
|
|||
}
|
||||
function check() : bool {
|
||||
if ($this->fetch('https://www.getpaint.net/'))
|
||||
return $this->parse('/<b>paint\.net\s+([\d\.]+)<\/b>/');
|
||||
return $this->parse('/<b>Paint\.NET\s+([\d\.]+)<\/b>/');
|
||||
return false;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue