|
|
@@ -745,8 +745,11 @@ public class GroupRelationFrontServiceImpl implements GroupRelationFrontService
|
|
|
String code = null;
|
|
|
//奈飞
|
|
|
if (goodsId == 1) {
|
|
|
- if (body.contains("輸入此代碼登入")) {
|
|
|
+ if (body.contains("輸入此代碼登入") || body.contains("输入此代码登录")) {
|
|
|
code = StrUtil.subBetween(body, "輸入此代碼登入", "請在裝置上輸入上");
|
|
|
+ if (StrUtil.isEmpty(code)) {
|
|
|
+ code = StrUtil.subAfter(body, "输入此代码登录", true);
|
|
|
+ }
|
|
|
} else {
|
|
|
String urlPref = "https://www.netflix.com/account/update-primary-location";
|
|
|
code = StrUtil.subBetween(body, "[" + urlPref, "]");
|