Skip to content

Commit

Permalink
feat: Add script for FIP Segreteria Generale
Browse files Browse the repository at this point in the history
  • Loading branch information
mfranzil committed Jun 13, 2024
1 parent cd3bb8a commit 9569820
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions src/scripts/fip_sg_com.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
# -*- coding: utf-8 -*-
from src.scripts.common.fipcommon import refresh_feed as refresh_feed_common


def refresh_feed(rss_folder):
request = {
"url": f"https://segreteriagenerale.fip.it/comunicati/",
"sentences": {
"feed_title": "FIP - Segreteria Generale - Comunicati",
"feed_description": "RSS feed dei comunicati della Segreteria Generale di FIP",
"feed_generator": "FIP - Segreteria Generale - Comunicati (from RSS Feed Generator)"
}
}
refresh_feed_common(rss_folder, request)


if __name__ == "__main__":
refresh_feed(".")

0 comments on commit 9569820

Please sign in to comment.