批量提取fofa查询结果(域名 IP title)
scrapy crawl spider -o data.json
参照scrapy的数据导出
不登陆账号仅且只能爬取1页
{
'cookie':'存放已登陆账号cookie中: _fofapro_ars_session=xxxxx 中的xxxxx',
'page':'你要提取的页数',
'rules':'查询规则"'
}
运行前你需要配置fofa.ini
运行后你需要输入一个字典
参照 {'rule':'domain="baidu.com"','page':'','size':'','fields':'host','is_full':''}
每个选项参考官方接口
数据示例