Created
December 13, 2019 19:44
-
-
Save bwbroersma/0a82b0a05da2c34f9fea117bedeac501 to your computer and use it in GitHub Desktop.
Scrape Schiphol for flights on a date: filter the HTML response for the JSON-LD output
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
curl 'https://www.schiphol.nl/en/departures/?datetime=2019-12-14&offset=[0-500:50]' -sSfA '' --compressed -H 'X-Requested-With: XMLHttpRequest' | pup 'script text{}' | jq -s . |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment