Commit 65edd34f authored by litianle's avatar litianle

大润发fix

parent b9984a89
...@@ -48,7 +48,8 @@ public class RTMartCrawler { ...@@ -48,7 +48,8 @@ public class RTMartCrawler {
} }
String storeBus = ""; String storeBus = "";
if (storeInfo.getElementsByTag("a").size() != 0) { if (storeInfo.getElementsByTag("a").size() != 0) {
storeBus = URL + storeInfo.getElementsByTag("a").get(0).attr("href"); storeBus = "https://www.rt-mart.com.cn"
+ storeInfo.getElementsByTag("a").get(0).attr("href");
} }
CrawlerStore crawlerStore = new CrawlerStore().setCrawlerUrl(URL) CrawlerStore crawlerStore = new CrawlerStore().setCrawlerUrl(URL)
.setSkName(SK_NAME) .setSkName(SK_NAME)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment