diff options
| author | Jan Tuomi <jans.tuomi@gmail.com> | 2023-09-10 18:56:47 +0300 |
|---|---|---|
| committer | Jan Tuomi <jans.tuomi@gmail.com> | 2023-09-10 19:01:00 +0300 |
| commit | 18210e2d54136a18b4ccf013cfa9971a797ddb47 (patch) | |
| tree | cf2291a43fe6cfa12a48a9368386fda989bd5439 /Aggrofile | |
| parent | cfac80ebc88b2256317b98a243083637aa6a5b3c (diff) | |
Add ScraperSourcePlugin
Diffstat (limited to 'Aggrofile')
| -rw-r--r-- | Aggrofile | 23 |
1 files changed, 21 insertions, 2 deletions
@@ -3,13 +3,29 @@ "plugins": { "plutonium74_fb": { "plugin": "FacebookSourcePlugin", - "schedule_expr": "schedule.every(30).seconds", + "schedule_expr": "schedule.every(24).hours", "login_email": "${AGGRO_FB_LOGIN_EMAIL}", "login_password": "${AGGRO_FB_LOGIN_PASSWORD}", - "page_id": "Batushkaband", + "page_id": "Plutonium74", "limit": 10, "__comment": "https://www.facebook.com/Plutonium74" }, + "aaniwalli_scraper": { + "plugin": "ScraperSourcePlugin", + "schedule_expr": "schedule.every(10).seconds", + "url": "https://www.ääniwalli.fi/", + "selector_post": "page.select('article')", + "selector_title": "post.select('h1')", + "selector_date": "post.select('.date')", + "selector_link": "post.select('a.event-link')", + "selector_description": "detail_page.select('.event-page')" + }, + "aaniwalli_feed": { + "plugin": "FeedSinkPlugin", + "feed_id": "aaniwalli", + "feed_title": "Ääniwalli", + "feed_description": "Ääniwalli events" + }, "plutonium74_fb_feed": { "plugin": "FeedSinkPlugin", "feed_id": "plutonium74_fb", @@ -79,6 +95,9 @@ ], "plutonium74_fb": [ "plutonium74_fb_feed" + ], + "aaniwalli_scraper": [ + "aaniwalli_feed" ] } }
\ No newline at end of file |
