Air-ticket-price-parser
Parser for air tickets' price
How to
-
Install Firefox
- If geckodriver.exe is not compatible with your Firefox version, download the compatible version from https://github.com/mozilla/geckodriver/releases and replace it
-
At email_client.py
- Make sure your email smtp is enable
- Replace
user_nameanduser_passwith your own email account's address and password (or secret for third party log in) - Replace
SMTP_addressto match with your email service provider
-
At parser.py
- Replace
fromCityandtoCityas you need - Replace
fromDatesandtoDates- Query will be made on
(dateGo, dateBack) for dateBack in toDates for dateGo in fromDates
- Set
notification_thresholdto the expected price value you want to be notified
- Replace
-
Set filter
- Currently
not transferfor Go,not transfer and arrival time between 07:00 and 17:00for Back - To be updated...
- Currently
-
Run
python parser.py
-
Want to test if email send is functional?
- Set
notification_thresholdto a large value and run to see if you can receive emails
- Set