|
|
@@ -254,7 +254,7 @@ public class SpotifyServiceImpl implements SpotifyService {
|
|
|
JSONObject error_details = error.getJSONObject("error_details");
|
|
|
String errorMsg = error_details.getStr("body");
|
|
|
Integer code = error_details.getInt("code");
|
|
|
- if (code.equals(4) || "你的设备似乎已连接至代理或 VPN 服务。请关闭此类服务,然后再试一次。".equals(errorMsg) || errorMsg.contains("代理")) {
|
|
|
+ if (code.equals(4) || "你的设备似乎已连接至代理或 VPN 服务。请关闭此类服务,然后再试一次。".equals(errorMsg)) {
|
|
|
log.info("spotify 注册 被监测出代理服务 。 删除该代理 ip:{}", proxyInfo.getIp());
|
|
|
proxyInfos.remove(proxyInfo);
|
|
|
continue;
|