I publish open source software here. All the repositories are at your disposal.
anoyix / anoyi Goto Github PK
View Code? Open in Web Editor NEWAnoyi's website
Home Page: https://anoyi.com
License: MIT License
Anoyi's website
Home Page: https://anoyi.com
License: MIT License
貌似是大神提供了vip的账号?然后在服务器上解析,然后我们就可以免费用这一个账号?是这样的话乐视会不会找麻烦。。。
作者您好,请问关于job/LetvCrawler这个类,注释写着”乐视信息爬虫”,但你定义的常量(爬取的URL)全是腾讯视频的(job/LetvCrawler类 32~37行代码),这就导致了该类下的getHostsFromPcDocument方法在第139行的时候,获取到的videoElements获取到的list大小为0,进而导致了141行的数组边界溢出异常,我想问问是不是作者把爬取的URL写错了。
上次跑你的项目,对springboot 不是很了解。所以回去学习了一下,平常工作抽了点时间。
org.springframework.boot.context.embedded.EmbeddedServletContainerException: Unable to start embedded Undertow
想请教下。 Undertow, 我是要做什么配置么?
想请问一下,导入项目后是不是要为每个DTO先去生成get、set方法?
现在的代码跑不起来,很多错误。
1 (Tips:可以忽视)我是在SpringCloud看到您的这篇文章的,但是您用的框架并未过多关于SpringCloud的东西,有点奇怪。
2 感兴趣的部分 爬虫部分 以及redis缓存(使用集群吗?)
3 原谅我并没有过多的看您的代码,粗浅的提出我的疑问
如题,然后暂时没看源代码,先记录一下
这种聚合平台难免会涉及版权问题,请问作者是如何处理的
2017-06-15 16:26:38.142 WARN 23681 --- [ restartedMain] ationConfigEmbeddedWebApplicationContext : Exception encountered during context initialization - cancelling refresh attempt: org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'userApi' defined in file [/demo/spring/any-video/target/classes/cn/ictgu/API/UserApi.class]: Unsatisfied dependency expressed through constructor parameter 0; nested exception is org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'userServiceImpl' defined in file [/demo/spring/any-video/target/classes/cn/ictgu/serv/service/UserServiceImpl.class]: Unsatisfied dependency expressed through constructor parameter 2; nested exception is org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'mailService' defined in file [/demo/spring/any-video/target/classes/cn/ictgu/tools/mail/MailService.class]: Unsatisfied dependency expressed through constructor parameter 0; nested exception is org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'org.springframework.boot.autoconfigure.mail.MailSenderAutoConfiguration': Unsatisfied dependency expressed through constructor parameter 0; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'spring.mail-org.springframework.boot.autoconfigure.mail.MailProperties': Could not bind properties to MailProperties (prefix=spring.mail, ignoreInvalidFields=false, ignoreUnknownFields=true, ignoreNestedProperties=false); nested exception is org.springframework.beans.InvalidPropertyException: Invalid property 'username[0]' of bean class [org.springframework.boot.autoconfigure.mail.MailProperties]: Property referenced in indexed property path 'username[0]' is neither an array nor a List nor a Map; returned value was []
2017-06-15 16:26:38.161 WARN 23681 --- [ restartedMain] o.s.b.SpringApplication : Error handling failed (Error creating bean with name 'delegatingApplicationListener' defined in class path resource [org/springframework/security/config/annotation/web/configuration/WebSecurityConfiguration.class]: Initialization of bean failed; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'org.springframework.transaction.annotation.ProxyTransactionManagementConfiguration': Initialization of bean failed; nested exception is org.springframework.beans.factory.NoSuchBeanDefinitionException: No bean named 'org.springframework.context.annotation.ConfigurationClassPostProcessor.importRegistry' available)
2017-06-15 16:26:38.177 ERROR 23681 --- [ restartedMain] o.s.b.SpringApplication : Application startup failed
org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'userApi' defined in file [/demo/spring/any-video/target/classes/cn/ictgu/API/UserApi.class]: Unsatisfied dependency expressed through constructor parameter 0; nested exception is org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'userServiceImpl' defined in file [/demo/spring/any-video/target/classes/cn/ictgu/serv/service/UserServiceImpl.class]: Unsatisfied dependency expressed through constructor parameter 2; nested exception is org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'mailService' defined in file [/demo/spring/any-video/target/classes/cn/ictgu/tools/mail/MailService.class]: Unsatisfied dependency expressed through constructor parameter 0; nested exception is org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'org.springframework.boot.autoconfigure.mail.MailSenderAutoConfiguration': Unsatisfied dependency expressed through constructor parameter 0; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'spring.mail-org.springframework.boot.autoconfigure.mail.MailProperties': Could not bind properties to MailProperties (prefix=spring.mail, ignoreInvalidFields=false, ignoreUnknownFields=true, ignoreNestedProperties=false); nested exception is org.springframework.beans.InvalidPropertyException: Invalid property 'username[0]' of bean class [org.springframework.boot.autoconfigure.mail.MailProperties]: Property referenced in indexed property path 'username[0]' is neither an array nor a List nor a Map; returned value was []
at org.springframework.beans.factory.support.ConstructorResolver.createArgumentArray(ConstructorResolver.java:749) ~[spring-beans-4.3.8.RELEASE.jar:4.3.8.RELEASE]
at org.springframework.beans.factory.support.ConstructorResolver.autowireConstructor(ConstructorResolver.java:189) ~[spring-beans-4.3.8.RELEASE.jar:4.3.8.RELEASE]
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.autowireConstructor(AbstractAutowireCapableBeanFactory.java:1193) ~[spring-beans-4.3.8.RELEASE.jar:4.3.8.RELEASE]
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:1095) ~[spring-beans-4.3.8.RELEASE.jar:4.3.8.RELEASE]
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:513) ~[spring-beans-4.3.8.RELEASE.jar:4.3.8.RELEASE]
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:483) ~[spring-beans-4.3.8.RELEASE.jar:4.3.8.RELEASE]
at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:306) ~[spring-beans-4.3.8.RELEASE.jar:4.3.8.RELEASE]
at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:230) ~[spring-beans-4.3.8.RELEASE.jar:4.3.8.RELEASE]
at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:302) ~[spring-beans-4.3.8.RELEASE.jar:4.3.8.RELEASE]
at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:197) ~[spring-beans-4.3.8.RELEASE.jar:4.3.8.RELEASE]
at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:761) ~[spring-beans-4.3.8.RELEASE.jar:4.3.8.RELEASE]
at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:866) ~[spring-context-4.3.8.RELEASE.jar:4.3.8.RELEASE]
at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:542) ~[spring-context-4.3.8.RELEASE.jar:4.3.8.RELEASE]
at org.springframework.boot.context.embedded.EmbeddedWebApplicationContext.refresh(EmbeddedWebApplicationContext.java:122) ~[spring-boot-1.5.3.RELEASE.jar:1.5.3.RELEASE]
at org.springframework.boot.SpringApplication.refresh(SpringApplication.java:737) [spring-boot-1.5.3.RELEASE.jar:1.5.3.RELEASE]
at org.springframework.boot.SpringApplication.refreshContext(SpringApplication.java:370) [spring-boot-1.5.3.RELEASE.jar:1.5.3.RELEASE]
at org.springframework.boot.SpringApplication.run(SpringApplication.java:314) [spring-boot-1.5.3.RELEASE.jar:1.5.3.RELEASE]
at org.springframework.boot.SpringApplication.run(SpringApplication.java:1162) [spring-boot-1.5.3.RELEASE.jar:1.5.3.RELEASE]
at org.springframework.boot.SpringApplication.run(SpringApplication.java:1151) [spring-boot-1.5.3.RELEASE.jar:1.5.3.RELEASE]
at cn.ictgu.Application.main(Application.java:18) [classes/:?]
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_45]
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[?:1.8.0_45]
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.8.0_45]
at java.lang.reflect.Method.invoke(Method.java:497) ~[?:1.8.0_45]
at org.springframework.boot.devtools.restart.RestartLauncher.run(RestartLauncher.java:49) [spring-boot-devtools-1.5.3.RELEASE.jar:1.5.3.RELEASE]
大哥你的这个项目太强大~(≧▽≦)/~啦啦啦
但是我试了下不能解析http://www.ictgu.cn/play?v=http://v.youku.com/v_show/id_XMjcxMjI2MDYwMA==.html?qq-pf-to=pcqq.temporaryc2c
能解决吗?
白鹿原视频看的过程中,有时候播放失败 ?
非常感谢能够分享springboot相关的技术。
git程序后,程序正常启动,但是访问web首页时,页面不能正常显示,接连出了好几个错误:
主要是对THYMELEAF还没有理解,有些问题不会解决。
1、没有结束标签问题,已解决。
比如:<meta charset="utf-8">,需要加一个结束符<meta charset="utf-8"/>
2、标签里属性没有写=,已解决。
比如:<script async,需要写为<script async=“async”
3、未解决:
org.xml.sax.SAXParseException: 与元素类型 "null" 相关联的 "th:class" 属性值不能包含 '<' 字符。
问题在:
<div th:class="${iterStat.index} < 12 ? 'column videoItem' : 'videoItem'" th:each="recommend, iterStat:${recommends}">
4、未解决:
org.xml.sax.SAXParseException: 元素类型 "link" 必须由匹配的结束标记 "" 终止。
问题分析:
是在解析其他网站的html时出的问题?本地页面对上述问题已经修改了。
上述问题为什么会出现呢,是因为默认是严格模式?问题3是语法问题?
但是你的程序没有问题。
该如何解决?
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.