kingschan1204 / istock Goto Github PK
View Code? Open in Web Editor NEW:point_right:一个基于spring boot 实现的java股票爬虫(仅支持A股),如果你:heart:请:star: . V2升级版正在开发中!
:point_right:一个基于spring boot 实现的java股票爬虫(仅支持A股),如果你:heart:请:star: . V2升级版正在开发中!
我这边的基本信息是空白的。。。就是/info/{code},这个页面一片空白,请问怎么回事呀?
大佬好,改了系统时间,但历史数据一直无法爬取下来
不知道该怎么解决,求解答
想做个爬虫爬类似的网站,你这个看起来不错,只是不符合我的要求,好改嘛
东方财富网登陆后localstorage跟cookie都没找到token , 在哪获取? 然后邮箱服务器地址还在查找获取方法 , 不是优先问题,可以的也提示下
部署在服务器上第二天就用不了,拿不到数据连接。返回的数据为null
牛逼
不知道什么情况。。。。
运行后只生成了dy_queue一张表
首先感谢下你的开源代码 写的不错学到挺多东西
爬虫的时候总线程数都是0是不是正常的
项目做的很棒,可惜我只会python
点赞表示支持,加油
楼主,启动报这个错
Caused by: java.lang.IllegalArgumentException: Could not resolve placeholder 'tushare.token' in value "${tushare.token}"
at org.springframework.util.PropertyPlaceholderHelper.parseStringValue(PropertyPlaceholderHelper.java:172)
at org.springframework.util.PropertyPlaceholderHelper.replacePlaceholders(PropertyPlaceholderHelper.java:124)
at org.springframework.core.env.AbstractPropertyResolver.doResolvePlaceholders(AbstractPropertyResolver.java:237)
at org.springframework.core.env.AbstractPropertyResolver.resolveRequiredPlaceholders(AbstractPropertyResolver.java:211)
at org.springframework.context.support.PropertySourcesPlaceholderConfigurer.lambda$processProperties$0(PropertySourcesPlaceholderConfigurer.java:175)
at org.springframework.beans.factory.support.AbstractBeanFactory.resolveEmbeddedValue(AbstractBeanFactory.java:839)
at org.springframework.beans.factory.support.DefaultListableBeanFactory.doResolveDependency(DefaultListableBeanFactory.java:1083)
at org.springframework.beans.factory.support.DefaultListableBeanFactory.resolveDependency(DefaultListableBeanFactory.java:1062)
at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor$AutowiredFieldElement.inject(AutowiredAnnotationBeanPostProcessor.java:581)
at org.springframework.beans.factory.annotation.InjectionMetadata.inject(InjectionMetadata.java:90)
at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor.postProcessPropertyValues(AutowiredAnnotationBeanPostProcessor.java:370)
... 45 common frames omitted
登录网站:http://data.eastmoney.com/rzrq/total.html 即可获取token
前面两个按照楼主说的,我都成功找到token了,东方财富按F12也没有查到token在哪。
IDE : STS JAVA1.8 WIN10
请问下作者,股票那么多数据是否都能获取到,还是只能你固定的那些呀
控制台一直提示下载某个文件失败,是什么原因?
tushare 访问api采用了积分制,刚注册的用户积分太低,导致没办法访问api,如果去掉这部分的逻辑对于整体的影响大吗?
你好 ,我是学生,想要研究一下您的代码 ,请问该如何导入本地使用该程序? 需要哪些配置?
security.user.name security.user.password是什么参数
不填写编译错误
导入eclipse报错,istock-master 版本。
win10 eclipse
Version: Mars.2 Release (4.5.2)
Build id: 20160218-0600
可以提供一下外部访问的API,入参和出参格式嘛
这个客户端是啥
登录雪球 后打开首页 中cookie中 获取一个叫xq_a_token的参数
直接登录https://tushare.pro/user/token获取
那个东方财富网的还没发现是那个值
请问mongo数据库里的数据格式是什么样子的呢? 系统是如何存储并提取数据的呢
Elements tr = table.getElementsByTag("tr");
java.lang.NullPointerException
at io.github.kingschan1204.istock.common.util.stock.impl.JisiluSpilder.crawHisPbPePriceAndReports(JisiluSpilder.java:50)
at io.github.kingschan1204.istock.module.maindata.services.StockService.crawAndSaveHisPbPe(StockService.java:185)
at io.github.kingschan1204.istock.module.maindata.ctrl.StockHisPageCtrl.getStockReport(StockHisPageCtrl.java:171)
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.springframework.web.method.support.InvocableHandlerMethod.doInvoke(InvocableHandlerMethod.java:209)
at org.springframework.web.method.support.InvocableHandlerMethod.invokeForRequest(InvocableHandlerMethod.java:136)
at org.springframework.web.servlet.mvc.method.annotation.ServletInvocableHandlerMethod.invokeAndHandle(ServletInvocableHandlerMethod.java:102)
at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.invokeHandlerMethod(RequestMappingHandlerAdapter.java:891)
at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.handleInternal(RequestMappingHandlerAdapter.java:797)
at org.springframework.web.servlet.mvc.method.AbstractHandlerMethodAdapter.handle(AbstractHandlerMethodAdapter.java:87)
at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:991)
at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:925)
at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:974)
at org.springframework.web.servlet.FrameworkServlet.doGet(FrameworkServlet.java:866)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:687)
at org.springframework.web.servlet.FrameworkServlet.service(FrameworkServlet.java:851)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:790)
at io.undertow.servlet.handlers.ServletHandler.handleRequest(ServletHandler.java:74)
at io.undertow.servlet.handlers.FilterHandler$FilterChainImpl.doFilter(FilterHandler.java:129)
at org.springframework.boot.actuate.web.trace.servlet.HttpTraceFilter.doFilterInternal(HttpTraceFilter.java:90)
at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107)
at io.undertow.servlet.core.ManagedFilter.doFilter(ManagedFilter.java:61)
at io.undertow.servlet.handlers.FilterHandler$FilterChainImpl.doFilter(FilterHandler.java:131)
at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:320)
at org.springframework.security.web.access.intercept.FilterSecurityInterceptor.invoke(FilterSecurityInterceptor.java:127)
at org.springframework.security.web.access.intercept.FilterSecurityInterceptor.doFilter(FilterSecurityInterceptor.java:91)
at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:334)
at org.springframework.security.web.access.ExceptionTranslationFilter.doFilter(ExceptionTranslationFilter.java:119)
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.