Skip to content

Navigation Menu

Sign in
Sign up

Repository files navigation

GFS in .NET8

AVOLOAVOLO.it TRIBUTE

Given a list of airport codes as departure flights option, a list of airport codes as destinations and the search date range, this simple script will scrape all combination one by one and save the information to a CSV file about the first flight sorted.

Search parameters are configured in appSettings.json file.

appSettings.json

{
 "FromAirports": [ "NAP" ],
 "ToAirports": [ "VIE", "IST" ],
 "FirstDepartureDate": "2023年12月01日",
 "LastDepartureDate": "2023年12月11日",
 "HowManyDays": 3,
 "FlexDays": 2,
 "OnlyWeekend": false
}
  • FromAirports: (list) Departure airport codes;
  • ToAirports: (list) Destination airport codes;
  • FirstDepartureDate: (string) First available date for departure flight;
  • LastDepartureDate: (string) Last available date for departure flight;
  • HowManyDays: (integer) The number of days between departure and return flights;
  • FlexDays: (integer) Adds flexible days on the return flight date;
  • OnlyWeekend: (boolean) The departure date is only on weekend days.

Output

Writing results in: 20231029223149.csv
ScraperLoop start.
2023年12月01日 | 2023年12月04日 | NAP-VIE | 219| Austrian | Diretto | 1 h 40 min
2023年12月01日 | 2023年12月05日 | NAP-VIE | 174| Biglietti separati prenotati insieme | 1 scalo | 4 h
2023年12月01日 | 2023年12月06日 | NAP-VIE | 156| Lufthansa, Austrian | 1 scalo | 4 h 25 min
2023年12月02日 | 2023年12月05日 | NAP-VIE | 133| Biglietti separati prenotati insieme | Diretto | 1 h 45 min
2023年12月02日 | 2023年12月06日 | NAP-VIE | 182| LufthansaAustrian | 1 scalo | 5 h 30 min
2023年12月02日 | 2023年12月07日 | NAP-VIE | 187| Lufthansa | 1 scalo | 5 h 30 min
2023年12月03日 | 2023年12月06日 | NAP-VIE | 156| Lufthansa, Austrian | 1 scalo | 4 h 25 min
2023年12月03日 | 2023年12月07日 | NAP-VIE | 161| Lufthansa, Austrian | 1 scalo | 4 h 25 min
2023年12月03日 | 2023年12月08日 | NAP-VIE | 161| Lufthansa, Austrian | 1 scalo | 4 h 25 min
2023年12月04日 | 2023年12月07日 | NAP-VIE | 155| Austrian | Diretto | 1 h 40 min
2023年12月04日 | 2023年12月08日 | NAP-VIE | 147| RyanairOperato da Lauda Europe | Diretto | 1 h 45 min
2023年12月04日 | 2023年12月09日 | NAP-VIE | 171| RyanairOperato da Lauda Europe | Diretto | 1 h 45 min
2023年12月05日 | 2023年12月08日 | NAP-VIE | 116| Wizz Air | Diretto | 1 h 45 min
2023年12月05日 | 2023年12月09日 | NAP-VIE | 138| Biglietti separati prenotati insieme | Diretto | 1 h 45 min
...

Other scraper settings such as Xpaths, Urls, etc. are in the other json files.

About

GoogleFlight scraper

Topics

Resources

Stars

3 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages

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