Skip to content
This repository has been archived by the owner on Nov 20, 2023. It is now read-only.
/ flight-scraper Public archive

Drives a browser to search for tickets across multiple airline sites, scraping/emailing/plotting fare information.

Notifications You must be signed in to change notification settings

yang/flight-scraper

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

63 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Flight Scraper

Flight Scraper drives a browser to search for tickets across multiple airline sites, scraping/emailing/plotting fare information.

Setup

Requires Python 2.7.

Install Xvfb:

sudo aptitude install xvfb

Install Google Chrome and ChromeDriver.

For the web reports, install Less and fetch/build the resources:

npm install -g less
make

Install flight-scraper:

pip install flight-scraper

Usage

To use the program for yourself, for now you'll just have to edit the program, namely the gen() function inside the script() function. A query processor that is flexible enough to accommodate a good variety of possible requests and understands how to dispatch this meta-query by quering each of the different airlines is beyond the scope of the current code.

The program aggregates the results of the queries into an HTML report, then sends an email summary which links to the report (specify a --url-base).

About

Drives a browser to search for tickets across multiple airline sites, scraping/emailing/plotting fare information.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages