From 61e4d154075a691a55b4a7e8ec0853e9589c1d76 Mon Sep 17 00:00:00 2001 From: Steffen Lange Date: Sat, 12 Mar 2022 22:33:56 +0100 Subject: [PATCH] VueScan: parse HTML page --- modules/VueScan.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/modules/VueScan.php b/modules/VueScan.php index f768e73..1bad26b 100644 --- a/modules/VueScan.php +++ b/modules/VueScan.php @@ -5,8 +5,8 @@ class VueScan extends PatchBase { parent::__construct('Hamrick Software', 'VueScan', 'https://www.hamrick.com/download.html'); } function check() : bool { - if ($this->fetch('https://d1t4l16dpbiwrj.cloudfront.net/menu.min.js')) - return $this->parse('/var ve="([\d\.]+)";/'); + if ($this->fetch('https://www.hamrick.com/')) + return $this->parse('/"softwareVersion": "([\d\.]+)"/'); return false; } }