0

Windows 服务器上的 FSCrawler 2.7

对于给定的作业,例如 test1,会自动创建一个 _settings.yaml 文件夹

例如c:\users\jbloggs\.fscrawler\test1\_settings.yml

您需要指定要爬取的文档所在的位置

fs:url:“驱动器和文档文件夹放在这里”

url c:\tmp 会报错

06:33:00,788 DEBUG [f.p.e.c.f.FsParserAbstract] Fs crawler thread [test2200] is now running. Run #1...
06:33:00,788 WARN  [f.p.e.c.f.FsParserAbstract] Error while crawling c: mp: c:  mp doesn't exists.
06:33:00,788 WARN  [f.p.e.c.f.FsParserAbstract] Full stacktrace
4

1 回答 1

1

这两种格式都有效

url: "/c:/tmp" 
url: "c:\\tmp"

文档在这里是错误的: https ://fscrawler.readthedocs.io/en/latest/user/tutorial.html#start-fscrawler

但在其他地方更正:

https://fscrawler.readthedocs.io/en/latest/admin/fs/ssh.html#windows-drives

还有https://fscrawler.readthedocs.io/en/latest/admin/fs/local-fs.html#id2

于 2021-01-29T07:13:52.357 回答