-
Make a simple flask application and place the script in a route.
-
Connect the repo with Heroku or a similar platform.
-
If you are a Heroku verified user, you could use this addon. You need to add a credit card to verify your account.
-
Create a new account on WayScript
-
Create a liar that is preset with the Python Cron Job template.
-
The default file will be tasks.py. Use the requests module to make a get request to the route where you have placed your script in step 1.
-
Create the requirements.txt file in the root directory and add the requests module.
-
Open the trigger file and add the time when you want to run the tasks.py file. Visit CrontabGuru if you do not know how to schedule a task with a cron.
-
Finally, deploy the liar.
This repository has been archived by the owner on Mar 23, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
This script is hosted in the cloud and runs on a scheduled basis to scrape exam news information from the National University (NU) website and save it to a database. It then compares the scraped news with the previous ones stored in a database and sends an email if there are new updates related to the exam, sparing unnecessary notifications.
itsmacr8/python-bot
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
This script is hosted in the cloud and runs on a scheduled basis to scrape exam news information from the National University (NU) website and save it to a database. It then compares the scraped news with the previous ones stored in a database and sends an email if there are new updates related to the exam, sparing unnecessary notifications.
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published