decaywood / xueqiusuperspider Goto Github PK
View Code? Open in Web Editor NEW雪球股票信息超级爬虫
License: MIT License
雪球股票信息超级爬虫
License: MIT License
除了网络问题,还看到有数据库连接,找了半天也没有sql文件啊
class
org.decaywood.utils.FileLoader
loadfile 每递归一次,不是加上一个"../", 而是加上递归的深度的个数的"../"
private static File loadFile(String rawPath, StringBuilder builder) {
-- if(!file.exists()) return loadFile(builder.append("../").toString() + rawPath, builder);
++ if (!file.exists()) return loadFile(builder.toString() + rawPath, builder);
public static File loadFile(String rawPath) {
-- return loadFile(rawPath, new StringBuilder());
++ return loadFile(rawPath, new StringBuilder("../"));
}
updateCookie has the same error.
https://xueqiu.com/stock/f10/bizunittrdinfo.json?date=20200809
返回结果为空,date=日期貌似不对,
作者您好,我们也是一家专业做IP代理的服务商,极速HTTP,想跟您谈谈是否能够达成商业推广上的合作。如果您,有意愿的话,可以联系我,微信:13982004324 谢谢(如果没有意愿的话,抱歉,打扰了)
登录加入的图片验证码,不知道前辈有啥好的解决方案么?请前辈指点指点,万分感谢
我发现这个项目类似一个框架项目,对于项目的使用(运行,目前好像只有测试用例可直接运行)和部分配置不是很了解,希望能有一个简单的说明,谢谢。
此项目依赖fasterxml、jsoup,在运行单元测试时,出现错误:
java.lang.NoSuchMethodError: com.fasterxml.jackson.annotation.JsonFormat$Value.empty()Lcom/fasterxml/jackson/annotation/JsonFormat$Value;
at com.fasterxml.jackson.databind.cfg.MapperConfig.(MapperConfig.java:49)
at com.fasterxml.jackson.databind.ObjectMapper.(ObjectMapper.java:558)
at com.fasterxml.jackson.databind.ObjectMapper.(ObjectMapper.java:474)
at org.decaywood.AbstractRemoteService.(AbstractRemoteService.java:53)
at org.decaywood.collector.AbstractCollector.(AbstractCollector.java:46)
at org.decaywood.collector.AbstractCollector.(AbstractCollector.java:37)
at org.decaywood.collector.StockScopeHotRankCollector.(StockScopeHotRankCollector.java:81)
at org.decaywood.collector.StockScopeHotRankCollector.(StockScopeHotRankCollector.java:66)
at StreamTest.HotRankStockDetail(StreamTest.java:142)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50)
at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47)
at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:325)
at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:78)
at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:57)
at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290)
at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71)
at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288)
at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58)
at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268)
at org.junit.runners.ParentRunner.run(ParentRunner.java:363)
at org.eclipse.jdt.internal.junit4.runner.JUnit4TestReference.run(JUnit4TestReference.java:86)
at org.eclipse.jdt.internal.junit.runner.TestExecution.run(TestExecution.java:38)
at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:459)
at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:678)
at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run(RemoteTestRunner.java:382)
at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.main(RemoteTestRunner.java:192)
好像是fasterxml库的问题,我用的是2.8.5,不知可不可以。能否提供项目中用的fasterxml的版本号?
403 Forbidden. Your IP Address: .
我在电脑上还能解封,不知道怎么在服务器上解封
Your project is lack of the file of gitignore.Can i solve the problem?
运行测试用例的时候经常这样:
Collector: Network busy Retrying -> 1 times
Collector: Network busy Retrying -> 2 times
Collector: Network busy Retrying -> 3 times
Collector: Network busy Retrying -> 4 times
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.