Commit Graph

359 Commits (a0c74a6a26a4342a74568ecb754b52da4c41690f)

Author SHA1 Message Date
yihua.huang a8e6de4b90 Merge branch 'master' of git.oschina.net:flashsword20/webmagic 9 years ago
yihua.huang 0fd4623f0a Merge branch 'osc' 9 years ago
yihua.huang ce5495ecd5 remove useless files 9 years ago
yihua.huang 8265c7dade remove submodules for relase 9 years ago
yihua.huang 7edfa26f90 complete javadoc 9 years ago
yihua.huang 8b90b91e33 complete some javadoc 9 years ago
yihua.huang 2b556cf053 update verison to 0.5.3-SNAPSHOT 9 years ago
yihua.huang 9c5716a543 complete javadoc 9 years ago
yihua.huang db3cbf6ca5 update version to 0.5.3-SNAPSHOT 9 years ago
yihua.huang 81ce1ffc5f fix ignore 9 years ago
yihua.huang 93764fa2c9 ignore some test 9 years ago
yihua.huang 5706bb90af update xsoup to 0.3.1 9 years ago
yihua.huang 7586e3d75c add some test for github repo downloader 9 years ago
x1ny 90e14b31b0 修正FileCacheQueueScheduler导致程序不能正常结束和未关闭流
FileCacheQueueScheduler中开启了一个线程周期运行来保存数据但在爬虫结束后没有关闭导致程序无法结束,以及没有关闭io流。

解决方法:
让FileCacheQueueScheduler实现Closable接口,在close方法中关闭线程以及流。
在Spider的close方法中添加对scheduler的关闭操作。
9 years ago
yihua.huang 56e0cd513a compile error fix 10 years ago
yihua.huang c5740b1840 change assert #200 10 years ago
yihua.huang 67eb632f4d test for issue #200 10 years ago
高军 590561a6e4 修正site.setHttpProxy()不起作用的bug 10 years ago
edwardsbean 4978665633 add retry sleep time 10 years ago
yihua.huang 8ffc1a7093 add NPE check for POST method 10 years ago
zhugw bc666e927d Update Site.java
setCycleRetryTimes的javadoc是这么说的:Set cycleRetryTimes times when download fail, 0 by default. Only work in RedisScheduler.
而通过查看源码发现似乎并没有做限制,即只能用于RedisScheduler. 故想问一下该javadoc是否过时了?
11 years ago
yihua.huang 147401ce5e remove duplicate setPath in ProxyPool 11 years ago
yihua.huang e7668e01b8 fix SourceRegion error and add some tests on it #144 11 years ago
yihua.huang 4446669c24 fix test 11 years ago
yihua.huang 9866297ec4 Disable jsoup entity escape by Default. Set Html.DISABLE_HTML_ENTITY_ESCAPE to false to enable it. #149 11 years ago
yihua.huang 4e6e946dd7 more friendly exception message in PlainText #144 11 years ago
yihua.huang af9939622b move thread package out of selector (because it is add by mistake at the beginning) 11 years ago
yihua.huang eae37c868b new sample 11 years ago
yihua.huang b3a282e58d some fix for tests #130 11 years ago
yihua.huang 074d767f45 Merge branch 'proxy' of github.com:yxssfxwzy/webmagic into yxssfxwzy-proxy 11 years ago
zwf 2f89cfc31a add test and fix bug of proxy module 11 years ago
yihua.huang eb89d66566 fix test 11 years ago
yihua.huang 5e8ca02ec6 contributor 11 years ago
yihua.huang 8c33be48a6 Merge branch 'stable' of github.com:code4craft/webmagic 11 years ago
yihua.huang 5f8c3fd5c5 update version 11 years ago
yihua.huang 7a64847a3c Bugfix: selector does not works well in element #113 11 years ago
yihua.huang 8d67fd0357 change back return proxy from spider to httpclientdownloader #128 11 years ago
yihua.huang 40bf8ca58f change return proxy from spider to httpclientdownloader #128 11 years ago
yihua.huang 1f21d9cc14 spell mistake fix #128 11 years ago
Yihua Huang e310139d00 Merge pull request #128 from yxssfxwzy/proxy
多个代理的管理
11 years ago
yihua.huang b165090434 Bugfix:Type convert error in JsonPathSelector #129 11 years ago
yihua.huang a5d1b56e44 fix ut #113 11 years ago
yihua.huang 3939074a23 Bugfix: nodes() only return the first element #113 11 years ago
yihua.huang 41c2ea9498 refactor of selectable cont' #113
1. remove lazy init of Html
2. rename strings to sourceTexts for better meaning
3. make getSourceTexts abstract and DO NOT always store strings
4. instead store parsed elements of document in HtmlNode
11 years ago
yihua.huang f9825c214a refactor selectable for html fragment #113 11 years ago
yihua.huang 03d26c169b Enhance auto charset detect #126
1. Only read from content once to fix stream closed exception
2. invite moco as server test
11 years ago
zwf c146e2c7b4 add proxy pool 11 years ago
yihua.huang 21982d3460 remove cpdetector temporary #126 11 years ago
fengwuze fcbfb75608 修改自动从网页中获取字符的代码块,抽取出来成为单独的方法。 11 years ago
fengwuze 95494d3c4d 增加处理meta的逻辑。
遗留:
3、网页没有指定编码的情况下,需要采用cpdetector,但目前cpdetector这个在Maven的中央库里面没有,不清楚如何解决。
11 years ago