Single Python file to generate and update a RSS file based on a certain webpage. The script is uploaded to GCP as a Cloud Function and then using Cloud Scheduler is run for example every day to get the latest content.
To upload the file to GCP, you will need to generate a key to represent your service account. Place the newly created JSON file at the root of the project.
The only left thing to do is to change the values in the .env file that represents the website that you want to create a RSS feed from.
The main.py file contains two main functions, create_feed and check_for_update, the first initializes a empty RSS file and the second will update the file if new content has been uploaded.