提交 d3735af4 authored 作者: 梁业锦's avatar 梁业锦 💬

修改afrieshop的主链接

上级 0d22826b
......@@ -68,7 +68,7 @@ public class SpiderServiceImpl implements SpiderService {
platformEnum=PlatformEnum.GAP;
} else if(targetUrl.contains("www.nike.com/cn/t/")) {
platformEnum=PlatformEnum.NIKE;
} else if(targetUrl.contains("www.afri-eshop.com") && targetUrl.contains("/products/")) {
} else if(targetUrl.contains("afrieshop") || targetUrl.contains("afri-eshop") && targetUrl.contains("/products/")) {
platformEnum=PlatformEnum.AfriEshop;
} else if (targetUrl.contains("zara") && Pattern.matches("^.*zara.cn.*-p\\d{8,10}.html.*$", targetUrl)) {
platformEnum = PlatformEnum.ZARA;
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论