|
@@ -138,19 +138,19 @@ public class TaobaoJhsbybtServiceImpl implements TaobaoJhsbybtService {
|
|
|
|
|
|
public static void main(String[] args) {
|
|
|
try {
|
|
|
- PrintStream out = new PrintStream("D:/bybt1102.csv");
|
|
|
+ PrintStream out = new PrintStream("D:/bybt1208.csv");
|
|
|
System.setOut(out);
|
|
|
} catch (FileNotFoundException e) {
|
|
|
e.printStackTrace();
|
|
|
}
|
|
|
+
|
|
|
+ Boolean hasMore = true;
|
|
|
System.out.println("商品id,商品名,销量,商品logo,设计图,商品图,商品链接,正常价,,,补贴价,补贴券");
|
|
|
|
|
|
TaobaoJhsbybtServiceImpl tb = new TaobaoJhsbybtServiceImpl();
|
|
|
- tb.taobaoLogin("流行之道","xzy19890417");
|
|
|
-// tb.taobaoLogin("m228419161","cxq121119..");
|
|
|
+// tb.taobaoLogin("流行之道","xzy19890417");
|
|
|
+ tb.taobaoLogin("m228419161","cxq121119..");
|
|
|
int i = 1;
|
|
|
-
|
|
|
- Boolean hasMore = true;
|
|
|
while (hasMore) {
|
|
|
try {
|
|
|
String result = tb.getGoodsList(i);
|