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_name
anduser_pass
with your own email account's address and password (or secret for third party log in) - Replace
SMTP_address
to match with your email service provider
-
At parser.py
- Replace
fromCity
andtoCity
as you need - Replace
fromDates
andtoDates
- Query will be made on
(dateGo, dateBack) for dateBack in toDates for dateGo in fromDates
- Set
notification_threshold
to the expected price value you want to be notified
- Replace
-
Set filter
- Currently
not transfer
for Go,not transfer and arrival time between 07:00 and 17:00
for Back - To be updated...
- Currently
-
Run
python parser.py
-
Want to test if email send is functional?
- Set
notification_threshold
to a large value and run to see if you can receive emails
- Set