8000 GitHub - Violape/AirlineCrawl: Get up-to-date airline information of China from ctrip.com. Results in a text file with commas separating columns.
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Get up-to-date airline information of China from ctrip.com. Results in a text file with commas separating columns.

Notifications You must be signed in to change notification settings

Violape/AirlineCrawl

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 

Repository files navigation

AirlineCrawl

Get up-to-date airline information of China from ctrip.com.

Resources to be Imported

import urllib.request
from bs4 import BeautifulSoup

BeautifulSoup needs to be installed before running this code.

Download BeautifulSoup

Find the directory of BeautifulSoup in cmd console, then input

python setup.py install

Input

File "aprs.txt" contains all airports in China.
It might update over time.

Output

Result.ext contains all results.
Results with commas separating columns, showing the following information:

  • departure time
  • arrival time
  • departure airport
  • arrival airport
  • flight code
  • flight company
  • availability on Monday, Tuesday, ... , Sunday

About

Get up-to-date airline information of China from ctrip.com. Results in a text file with commas separating columns.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

0