从网上抓数据但是有的价格是图片,我用的方法:
Open.saveImage(priceimglink, "E://priceimg.png/0.1.png");//保存路径,图片是什么格式就存成什么格式
String price=Demo.getImageString("E://priceimg.png/0.1.png").replace("O","0" ).replace("Y", ""); //价格
但是抓下来的价格是叹号或空格,求解决
Open.saveImage(priceimglink, "E://priceimg.png/0.1.png");//保存路径,图片是什么格式就存成什么格式
String price=Demo.getImageString("E://priceimg.png/0.1.png").replace("O","0" ).replace("Y", ""); //价格
但是抓下来的价格是叹号或空格,求解决
解决方案 »
免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货