Back to Browse

Web Scraping flight prices with Python and Selenium - Simple Tutorial

32.4K views
Jul 11, 2019
38:10

Building a Web Scraper is easier than you think! This video is based on an article that I published in Medium and it is supposed to be really easy to follow using only Python, and mainly Selenium with the Chromedriver. The point of the bot is to scrape specific flight prices from Kayak and send us the information to our email. Additionally, it also saves the scrape results in a nice dataframe and exports them to a csv file. If there's something I didn't cover in the video, please have a look at the article (link below), as there are some more links there. I also have other articles with other web scraping tools. Let me know in the comments if you prefer this long format, or a more complete code along broken down into parts! RESOURCES =========================== Article: https://towardsdatascience.com/if-you-like-to-travel-let-python-help-you-scrape-the-best-fares-5a1f26213086 XPath cheat sheet: https://devhints.io/xpath Jupyter Notebook: https://github.com/fnneves/flight_scraper Video on how to create a price alert for Amazon: https://youtu.be/lwmymf-7NJU Find all my courses in my new learning hub! - https://bit.ly/2024coursesfn Free Plotly Crash Course - https://bit.ly/3Hy8jwa If you prefer Udemy - https://bit.ly/udemyfndataviz USEFUL BOOKS =========================== Excellent book on all things web scraping - https://amzn.to/3QRGzYt Another great book oriented to Data Science - https://amzn.to/3cyRVli ------------------------------------------------------------------------------------------------------------------- Disclosure: Some of the links above are affiliate links. This means that, at zero cost to you, I will earn an affiliate commission if you finalize the purchase through the link! #pythonprogramming #webscraper #webscraping #beautifulsoup #seleniumtutorial #selenium #airfare #cheapflights

Download

1 formats

Video Formats

360pmp458.4 MB

Right-click 'Download' and select 'Save Link As' if the file opens in a new tab.

Web Scraping flight prices with Python and Selenium - Simple Tutorial | NatokHD