Created
June 1, 2014 14:04
-
-
Save smj10j/707710f94b783ebe76d7 to your computer and use it in GitHub Desktop.
Download all images of an Airbnb listing
This file contains hidden or 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
#!/bin/bash | |
PROJECT_DIR=~/httrack/airbnb | |
LISTING_URL='https://www.airbnb.com/rooms/1300067?s=9Xmw' | |
brew install httrack | |
echo "Using httrack to download all images" | |
echo "Update cookies.txt within $PROJECT_DIR if login needed" | |
echo "" | |
httrack --update $LISTING_URL -W -O "$PROJECT_DIR" -v -Z -r4 -C0 -b1 -s0 +*large.jpg |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I'm sure this was VERY cool - tried to get it to work now and I don't think airbnb functions the same. Thanks though!