|
|
@ -4,8 +4,20 @@ export default { |
|
|
|
data_save_dir: 'data/', //抓取完成数据保存目录,文件格式:.url快捷方式,详细说明见:https://filesite.io
|
|
|
|
data_save_dir: 'data/', //抓取完成数据保存目录,文件格式:.url快捷方式,详细说明见:https://filesite.io
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
//herounion对接配置
|
|
|
|
|
|
|
|
herounion: { |
|
|
|
|
|
|
|
name: 'machete_hero', //爬虫名字
|
|
|
|
|
|
|
|
description: '支持Machete的TaJian皮肤的hero爬虫', //爬虫简介
|
|
|
|
|
|
|
|
platforms: 'douyin,kuaishou,xigua,bilibili', //爬虫支持的平台
|
|
|
|
|
|
|
|
contracts: 'tajiantv', //爬虫支持的数据采集合约(可二次开发自定义)
|
|
|
|
|
|
|
|
country: 'cn', //爬虫所在国家
|
|
|
|
|
|
|
|
lang: 'zh', //爬虫支持的语言
|
|
|
|
|
|
|
|
contact: 'https://filesite.io', //爬虫的联系方式
|
|
|
|
|
|
|
|
}, |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
//bot相关配置
|
|
|
|
//bot相关配置
|
|
|
|
//userAgent: '~ chrome >= 114 && mac', //指定操作系统和浏览器版本
|
|
|
|
cloud_server: 'ws://192.168.3.13:1818', |
|
|
|
userAgent: 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/114.0.0.0 Safari/537.36', |
|
|
|
userAgent: 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/114.0.0.0 Safari/537.36', |
|
|
|
viewport: { |
|
|
|
viewport: { |
|
|
|
width: 1440, |
|
|
|
width: 1440, |
|
|
|