jspider.properties
上传用户:qing5858
上传日期:2015-10-27
资源大小:6056k
文件大小:3k
源码类别:

搜索引擎

开发平台:

Java

  1. # -----------------------------------------------------------------------------
  2. # JSpider Main Configuration File for config 'checkErrors'
  3. # -----------------------------------------------------------------------------
  4. #
  5. # $Id: jspider.properties,v 1.9 2003/04/03 16:10:23 vanrogu Exp $
  6. #
  7. # -----------------------------------------------------------------------------
  8. # -----------------------------------------------------------------------------
  9. # Proxy Configuration
  10. # -----------------------------------------------------------------------------
  11. jspider.proxy.use=false
  12. jspider.proxy.host=
  13. jspider.proxy.port=
  14. jspider.proxy.authenticate=false
  15. jspider.proxy.user=
  16. jspider.proxy.password=
  17. # -----------------------------------------------------------------------------
  18. # Storage Configuration
  19. # -----------------------------------------------------------------------------
  20. jspider.storage.provider=net.javacoding.jspider.core.storage.memory.InMemoryStorageProvider
  21. # -----------------------------------------------------------------------------
  22. # Task Scheduler Configuration
  23. # -----------------------------------------------------------------------------
  24. jspider.taskscheduler.provider=net.javacoding.jspider.core.task.impl.DefaultSchedulerProvider
  25. jspider.taskscheduler.monitoring.enabled=true
  26. jspider.taskscheduler.monitoring.interval=1000
  27. # -----------------------------------------------------------------------------
  28. # Threading Configuration
  29. # -----------------------------------------------------------------------------
  30. jspider.threads.spiders.count=5
  31. jspider.threads.spiders.monitoring.enabled=true
  32. jspider.threads.spiders.monitoring.interval=1000
  33. jspider.threads.thinkers.count=1
  34. jspider.threads.thinkers.monitoring.enabled=true
  35. jspider.threads.thinkers.monitoring.interval=1000
  36. # -----------------------------------------------------------------------------
  37. # User Agent Configuration
  38. # -----------------------------------------------------------------------------
  39. #jspider.userAgent=JSpider (http://j-spider.sourceforge.net)
  40. # -----------------------------------------------------------------------------
  41. # Logging Configuration
  42. # -----------------------------------------------------------------------------
  43. jspider.log.provider=net.javacoding.jspider.core.logging.impl.CommonsLoggingLogProvider
  44. # -----------------------------------------------------------------------------
  45. # Rules Configuration
  46. # -----------------------------------------------------------------------------
  47. jspider.rules.spider.count=1
  48. jspider.rules.spider.1.class=net.javacoding.jspider.mod.rule.OnlyHttpProtocolRule
  49. jspider.rules.parser.count=1
  50. jspider.rules.parser.1.class=net.javacoding.jspider.mod.rule.TextHtmlMimeTypeOnlyRule