Skip to content

Instantly share code, notes, and snippets.

@feilongfl
Created December 24, 2018 10:43
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save feilongfl/8b5d1ca7f4957f1cfe43e7868f5ec23f to your computer and use it in GitHub Desktop.
Save feilongfl/8b5d1ca7f4957f1cfe43e7868f5ec23f to your computer and use it in GitHub Desktop.
{
"schema_version": 1,
"name": "hellogithub",
"description": "No description provided",
"source_url": false,
"guid": "1349912bb38155988e4e6831ce674226",
"tag_fg_color": "#ffffff",
"tag_bg_color": "#5bc0de",
"icon": "cutlery",
"exported_at": "2018-12-24T10:42:10Z",
"agents": [
{
"type": "Agents::RssAgent",
"name": "hellogithub getter",
"disabled": false,
"guid": "08e24c0209d1fa70e216957e00999d10",
"options": {
"expected_update_period_in_days": "45",
"clean": "false",
"url": "https://hellogithub.com/rss"
},
"schedule": "every_12h",
"keep_events_for": 15552000
},
{
"type": "Agents::WebsiteAgent",
"name": "hellogithub get full",
"disabled": false,
"guid": "b32d4e264bb7203f9845d407867d0e59",
"options": {
"expected_update_period_in_days": "2",
"url_from_event": "{{url}}",
"type": "html",
"mode": "merge",
"extract": {
"fulltext": {
"xpath": "//*[@id=\"main\"]/div[2]",
"value": "."
}
}
},
"schedule": "every_12h",
"keep_events_for": 15552000,
"propagate_immediately": true
},
{
"type": "Agents::DataOutputAgent",
"name": "hellogithub rss out",
"disabled": false,
"guid": "c80024413dff270e2b8d2b3370420914",
"options": {
"secrets": [
"hellogithub"
],
"expected_receive_period_in_days": "45",
"template": {
"title": "HelloGithub",
"description": "HelloGithub",
"item": {
"title": "{{title}}",
"description": "{{fulltext}}",
"link": "{{url}}",
"categories": "{{categories}}"
}
},
"ns_media": "true",
"events_to_show": "3"
},
"propagate_immediately": true
}
],
"links": [
{
"source": 0,
"receiver": 1
},
{
"source": 1,
"receiver": 2
}
],
"control_links": [
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment