Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

scraperapi/scraperapi-skyscanner

Folders and files

NameName
Last commit message
Last commit date

Latest commit

History

2 Commits

Repository files navigation

Skyscanner Scrape Sample

The purpose of this sample code is to demonstrate how to scrape data from skyscanner flight information page. The basic approach taken is to, based on an analysis of the network calls the site makes, replicate those these using scraperapi API calls to retrieve data. This approach has two fairly significant benefits:

  1. It minimises the number of API calls used to retrieve data and hence cost;
  2. Data is retrieved in JSON, minimisng the additional work required to transform HTML into a more usable format.

Installation

To install dependencies, simply run npm init in the root directory of the project.

Execution

To run the sample, simply run npm run start in the root directory of the project.

About

Sample code for scraping skyscanner domains

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

AltStyle によって変換されたページ (->オリジナル) /