[软件服务] huginn开源自动化工具,它允许用户创建自动化任务(称为Agents),这些任务可以监控网页变化、聚合第三方应用的数据,并根据预设条件执行操作

date
Dec 17, 2024
slug
newsoftware-huginn-auto-agents
status
Published
summary
新软件-
tags
software
service
type
Post
URL
 
 

Summary

安装过程


services:
  huginn:
    image: ghcr.io/huginn/huginn
    container_name: huginn
    ports:
      - "42033:3000"
    volumes:
      - /data_n001/data/udata/real/1567/DockerSSD/huginn/data:/huginn/data
    restart: always
    # You can add other configurations like environment variables etc. if needed
    # environment:
    #   SOME_VARIABLE: value
networks:
  default:
    name: npm_nginx_proxy_manager-network
    external: true    

docker compose down; docker compose up -d; sleep 1s; docker compose logs -f

# set up npm: -> http://dnsmgr-web:80
# set up zspace极空间 远程转发 -> http://ip:42891
notion image
 

获取页面中的信息 - WebsiteAgent

notion image
notion image
 
{
  "expected_update_period_in_days": "2",
  "url": "https://kinesis.money/zh-hans/gold-price/gold-price-per-gram/",
  "type": "html",
  "mode": "on_change",
  "extract": {
    "title": {
      "xpath": "//*[@id=\"post-120880\"]/div/div/div/div/div/div[2]/div[1]/div/div/h1",
      "value": "normalize-space(.)"
    },
    "content": {
      "xpath": "//*[@id=\"post-120880\"]/div/div/div/div/div/div[2]/div[2]/div/div[1]/div[1]/span/span[1]",
      "value": "normalize-space(.)"
    }
  }
}
 
 
 
 

截图

notion image

Raw

 

© Ying Bun 2021 - 2025