Result.type # This is in a round-trip format Result = Scrape('JFK', 'IST', '', '') # obtain our scrape object, represents out query Here is some quick starter code to accomplish the basic tasks. For Python package users, import as follows: from google_flight_analysis.scrape import *įor GitHub repository cloners, import as follows from the root of the repository: from src.google_flight_analysis.scrape import * It serves also as a data object, preserving the flight information as well as meta-data from your query. The main scraping function that makes up the backbone of most other functionalities is Scrape(). Upon doing so, make sure to install the dependencies and update ChromeDriver to match your Google Chrome version. You can easily install this by running either installing the Python package google-flight-analysis: pip install google-flight-analysis
0 Comments
Leave a Reply. |