Last active
September 30, 2021 13:06
-
-
Save 15cm/34a06ee981b23d1c05d8f0cbb0e89e25 to your computer and use it in GitHub Desktop.
Huginn Scenarios
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"schema_version": 1, | |
"name": "Bangumi Subscription", | |
"description": "No description provided", | |
"source_url": false, | |
"guid": "6ac1d031153228f8a40df16e765e87ec", | |
"tag_fg_color": "#ffffff", | |
"tag_bg_color": "#f2a1b6", | |
"icon": "film", | |
"exported_at": "2021-01-17T03:44:39Z", | |
"agents": [ | |
{ | |
"type": "Agents::RssAgent", | |
"name": "ホリミヤ", | |
"disabled": false, | |
"guid": "01243feba163fdc1856aa7cf29dd0e62", | |
"options": { | |
"expected_update_period_in_days": "10", | |
"clean": "false", | |
"url": "https://nyaa.si/?page=rss&q=horimiya+1080+subsplease&c=0_0&f=0" | |
}, | |
"schedule": "every_30m", | |
"keep_events_for": 15552000 | |
}, | |
{ | |
"type": "Agents::RssAgent", | |
"name": "ひぐらしのなく頃に 業", | |
"disabled": false, | |
"guid": "2531b82a2fa74c1c9ac9f26972302ae3", | |
"options": { | |
"expected_update_period_in_days": "10", | |
"clean": "false", | |
"url": "https://nyaa.si/?page=rss&q=%5BSubsPlease%5D+Higurashi+no+Naku+Koro+ni+Gou+1080&c=0_0&f=0" | |
}, | |
"schedule": "every_30m", | |
"keep_events_for": 15552000 | |
}, | |
{ | |
"type": "Agents::RssAgent", | |
"name": "ワンダーエッグ・プライオリティ", | |
"disabled": false, | |
"guid": "351b8c11268c9b5fff74dc83dd1bc065", | |
"options": { | |
"expected_update_period_in_days": "10", | |
"clean": "false", | |
"url": "https://nyaa.si/?page=rss&q=Wonder+Egg+Priority+subsplease+1080&c=0_0&f=0" | |
}, | |
"schedule": "every_30m", | |
"keep_events_for": 15552000 | |
}, | |
{ | |
"type": "Agents::RssAgent", | |
"name": "進撃の巨人 The Final Season", | |
"disabled": false, | |
"guid": "6c36006c731e4f25c8787f1431670887", | |
"options": { | |
"expected_update_period_in_days": "10", | |
"clean": "false", | |
"url": "https://nyaa.si/?page=rss&q=subsplease+Shingeki+no+Kyojin+-+The+Final+Season+1080&c=0_0&f=0" | |
}, | |
"schedule": "every_30m", | |
"keep_events_for": 15552000 | |
}, | |
{ | |
"type": "Agents::RssAgent", | |
"name": "ゆるキャン△ SEASON 2", | |
"disabled": false, | |
"guid": "b8c3c835d90c17e947a1adf6df854989", | |
"options": { | |
"expected_update_period_in_days": "10", | |
"clean": "false", | |
"url": "https://nyaa.si/?page=rss&q=Yuru+Camp+s2+1080+subsplease&c=0_0&f=0" | |
}, | |
"schedule": "every_30m", | |
"keep_events_for": 15552000 | |
}, | |
{ | |
"type": "Agents::RssAgent", | |
"name": " 約束のネバーランド Season 2 ", | |
"disabled": false, | |
"guid": "e62e6a6f1a80e7ef96219a31269594d5", | |
"options": { | |
"expected_update_period_in_days": "10", | |
"clean": "false", | |
"url": "https://nyaa.si/?page=rss&q=Yakusoku+no+Neverland+S2+1080+subsplease&c=0_0&f=0" | |
}, | |
"schedule": "every_30m", | |
"keep_events_for": 15552000 | |
}, | |
{ | |
"type": "Agents::RssAgent", | |
"name": "BEASTARS 2nd Season", | |
"disabled": false, | |
"guid": "f018523fda090aa401cb8fd8a709a980", | |
"options": { | |
"expected_update_period_in_days": "10", | |
"clean": "false", | |
"url": "https://nyaa.si/?page=rss&q=Beastars+2nd+Season++1080+dkb&c=0_0&f=0" | |
}, | |
"schedule": "every_30m", | |
"keep_events_for": 15552000 | |
} | |
], | |
"links": [ | |
], | |
"control_links": [ | |
] | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"schema_version": 1, | |
"name": "Infra", | |
"description": "No description provided", | |
"source_url": false, | |
"guid": "7ec57e3e5c994214aab5482e96c91f7d", | |
"tag_fg_color": "#ffffff", | |
"tag_bg_color": "#5bc0de", | |
"icon": "gear", | |
"exported_at": "2021-01-17T03:43:02Z", | |
"agents": [ | |
{ | |
"type": "Agents::PostAgent", | |
"name": "Forward to Aria2 & Download to Plex", | |
"disabled": false, | |
"guid": "c13453f9de22da239aa660451ee5f023", | |
"options": { | |
"post_url": "your_aria2_url/jsonrpc", | |
"expected_receive_period_in_days": "14", | |
"content_type": "json", | |
"method": "post", | |
"payload": { | |
"id": "{{url}}", | |
"method": "aria2.addUri", | |
"params": [ | |
"token:your_token", | |
[ | |
"{{links[0].href}}" | |
], | |
{ | |
"dir": "/downloads/bangumi/{{bangumi_name}}" | |
} | |
] | |
}, | |
"emit_events": "false", | |
"no_merge": "false", | |
"output_mode": "clean" | |
}, | |
"schedule": "never", | |
"keep_events_for": 7776000, | |
"propagate_immediately": false | |
}, | |
{ | |
"type": "Agents::EventFormattingAgent", | |
"name": "Format RSS Event With Bangumi Name", | |
"disabled": false, | |
"guid": "d67d4d3ea22dc58850469a504508968f", | |
"options": { | |
"mode": "merge", | |
"instructions": { | |
"bangumi_name": "{{agent.name | regex_replace: '[:/]+', '_' }}" | |
} | |
}, | |
"keep_events_for": 0, | |
"propagate_immediately": true | |
} | |
], | |
"links": [ | |
{ | |
"source": 2, | |
"receiver": 1 | |
} | |
], | |
"control_links": [ | |
] | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment