diff --git a/shared/main.php b/shared/main.php index b34efac..74ce99f 100644 --- a/shared/main.php +++ b/shared/main.php @@ -1,6 +1,6 @@ (ConfigChanged|CookieExpired)<\/ErrorCode>/', $out)) { + $oldCookie = uupEncryptedData(); + @unlink(dirname(__FILE__).'/cookie.json'); + $postData = str_replace($oldCookie, uupEncryptedData(), $postData); + + return sendWuPostRequest($url, $postData); + } + $outDecoded = html_entity_decode($out); preg_match('/.*?<\/NewCookie>|.*?<\/GetCookieResult>/', $outDecoded, $cookieData);