大头菜调整为本地站点从而提升加载速度
调整无头浏览器参数 升级fastjson版本
This commit is contained in:
@@ -288,12 +288,16 @@ public class TurnipProphet extends Model {
|
||||
|
||||
public static void main(String[] args) throws Exception {
|
||||
TurnipProphet prophet = new TurnipProphet();
|
||||
String prices="108.93.89.84.79........";
|
||||
String pattern="0";
|
||||
Map<String,String >map=prophet.openTurnip(prices,pattern);
|
||||
prophet.sendQQ(map,prices,pattern);
|
||||
|
||||
}
|
||||
|
||||
|
||||
public Map<String, String> openTurnip(String prices, String pattern) throws Exception {
|
||||
String url = String.format("https://turnipprophet.io?prices=%s%s",
|
||||
String url = String.format("http://127.0.0.1:7000/?prices=%s%s",
|
||||
prices,
|
||||
pattern == null ? "" : "&pattern=" + pattern
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user