java - 在 Java 上运行网络蜘蛛

标签 java windows web web-crawler heritrix

在 Windows 8.1 64 位上启动网络蜘蛛。尝试不连接额外的库,最终爬错。

C:\Users\I>cd c:\Users\i\Desktop\heritrix-1.14.4

c:\Users\I\Desktop\heritrix-1.14.4>cd bin

c:\Users\I\Desktop\heritrix-1.14.4\bin>heritrix.cmd
You have to specify either a username and password for the
web interface or start Heritrix without the web ui.

Example: heritrix.cmd --admin=admin:letmein
         heritrix.cmd --nowui myOrder.xml

c:\Users\I\Desktop\heritrix-1.14.4\bin>extractor
Error: Password file not found: \Users\I\Desktop\heritrix-1.14.4\jmxremote.password

c:\Users\I\Desktop\heritrix-1.14.4\bin>heritrix.cmd
You have to specify either a username and password for the
web interface or start Heritrix without the web ui.

Example: heritrix.cmd --admin=admin:letmein
         heritrix.cmd --nowui myOrder.xml

c:\Users\I\Desktop\heritrix-1.14.4\bin>

我应该在什么地方输入密码并登录?

最佳答案

简单尝试

heritrix --admin=LOGIN:PASSWORD

关于java - 在 Java 上运行网络蜘蛛,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/20458387/

相关文章:

string - 基于文件名的批量移动,不带分隔符,仅字符串

windows - Git - 推送新的提交并忽略未提交的更改

javascript - 导入 serval webcomponent 时,前一个自定义元素被下一个元素覆盖

installation - Web 安装构建器软件

java - 如果用户不验证电子邮件,会发生什么?

java - 如何更改hibernate为主键字段插入的默认值?

java - 与 Java 静态 block 等效的 C++ 习语是什么?

java - 在 `javac.exe` 中找不到 `jdk\bin`

web - 如何查找和更改网站名称(不是 url 和域名)

java - x +=++x 相当于 x = 2x+1 : Why?