huginn website agent对提取结果排序

当配置好huginn的website之后,想给提取的内容排个序,那就用下面这堆代码,因为官网里也这么说的,

"events_order": [
[
"{{date_published}}",
"string",
"true"
]
]


但是如果配置完报下面的错误,那就惊喜了,

1 error prohibited this Agent from being saved:
- extract must be a hash of hashes.

原因是把这个参数配置到extract下面了,因为是参数,应该和extract是同一级别的,

posted @ 2019-01-02 16:43  十点  阅读(561)  评论(0编辑  收藏  举报