Foxexpress-bot-python is a toolkit to automate the delivery status of the parcel managed by the Fox-express delivery service in Russia.
Install Python 3. Install all dependencies via pip:
pip install smtplib requests bs4 pytzClone this rep to your machine.
git clone https://github.com/kashamalasha/foxexpress-bot-python.gitToolkit includes the following files:
fox.py- Python script to find updates and send them via email.foxtabs.py- Python script to display the latest status in the terminal.fox.ini- Template of the configuration file for data requesting and email sending.crontab.txt- Example of a crontab configuration for recurring execution.
- Specify your settings in the
fox.inifile according to your requirements. - Execute
foxtabs.pyto initiate the request to Fox-express. - Run
fox.pyto ensure that the email settings are properly configured. - Edit
crontab -eto define the schedule for requests. - Monitor the updates in the receiver mailbox specified in the
fox.inifile.
Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.
Please make sure to update tests as appropriate.
None