Skip to content

The hotel 🏨 and campsite πŸ•οΈ availability checker for Xanterra Travel Collection (https://www.xanterra.com/)

Notifications You must be signed in to change notification settings

rangerz/xtravel

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

5 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

xtravel

The hotel 🏨 and campsite πŸ•οΈ availability checker for Xanterra Travel Collection (https://www.xanterra.com/)

Suppport Locations

Install

# Setup virtualenv (Recommend)
virtualenv venv -p python3
source venv/bin/activate

pip install -r requirements.txt

Usage

Help Message

$ python xtravel.py --help
usage: xtravel.py [-h] [--area AREA] [--start-date START_DATE] [--end-date END_DATE] [--adults ADULTS]
                  [--children CHILDREN]

optional arguments:
  -h, --help            show this help message and exit
  --area AREA           grandcanyonlodges, glaciernationalparklodges, grandcanyongrandhotel,
                        yellowstonenationalparklodges, zionlodge
  --start-date START_DATE
                        Start Date (MM/DD/YYYY)
  --end-date END_DATE   End Date (MM/DD/YYYY)
  --adults ADULTS       Number of Adults (1~8)
  --children CHILDREN   Number of Children (0~7)

Use Wizard

$ python xtravel.py
Area:
> Grand Canyon National Park
  Glacier National Park Lodges
  The Grand Hotel
  Yellowstone National Park
  Zion National Park

Enter start date [08/01/2021]:
Enter end date [08/07/2021]:
Enter number of adults (1~8)[1]: 2
Enter number of children (0~7)[0]:

Use Parameters

$ python xtravel.py \
	--area grandcanyonlodges \
	--start-date 08/01/2021 \
	--end-date 08/07/2021 \
	--adults 2 \
	--children 0

Example Output

!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!! Found the available date !!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

| Code   | Hotel Title                            |
|--------|----------------------------------------|
| GLCC   | Cedar Creek Lodge (Columbia Falls, MT) |
| GLLM   | Lake McDonald                          |
| GLMG   | Many Glacier Hotel                     |
| GLRS   | Rising Sun Motor Inn & Cabins          |
| GLSC   | Swiftcurrent Motor Inn & Cabins        |
| GLVI   | Village Inn at Apgar                   |

|            | GLCC   | GLLM   | GLMG   | GLRS   | GLSC   | GLVI   |
|------------|--------|--------|--------|--------|--------|--------|
| 08/01/2021 | X      | X      | X      | X      | X      | X      |
| 08/02/2021 | O      | X      | X      | X      | X      | X      |
| 08/03/2021 | X      | X      | X      | X      | X      | X      |
| 08/04/2021 | X      | X      | X      | X      | X      | X      |
| 08/05/2021 | X      | X      | X      | X      | X      | X      |
| 08/06/2021 | X      | X      | X      | X      | X      | X      |
| 08/07/2021 | X      | X      | X      | X      | X      | X      |


List:
[08/02/2021] Cedar Creek Lodge (Columbia Falls, MT)

Flexible Date URL: https://secure.glaciernationalparklodges.com/booking/lodging-flex-search?dateFrom=08-01-2021&adults=4&children=0&nights=6&destination=ALL

TODO

  • Infinite loop check with delay time
  • Notification (Pushbullet API)
  • Random User Agent
  • Select location parameter
  • Make order with login user by selenium
  • Dockerfile (Github workflow)

License

MIT

About

The hotel 🏨 and campsite πŸ•οΈ availability checker for Xanterra Travel Collection (https://www.xanterra.com/)

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages