diff --git a/modules/NotepadPP.php b/modules/NotepadPP.php index df1294b..6a425ef 100644 --- a/modules/NotepadPP.php +++ b/modules/NotepadPP.php @@ -5,7 +5,7 @@ class NotepadPP extends PatchBase { parent::__construct('Don Ho', 'Notepad++', 'https://notepad-plus-plus.org/downloads/'); } function check() : bool { - if ($this->fetch('https://notepad-plus-plus.org/')) + if ($this->fetch('https://notepad-plus-plus.org/', array('CURLOPT_USERAGENT' => 'curl/8.9.1'))) return $this->parse('/Current Version ([\d\.]+)<\/strong>/'); return false; }