Skip to content

Instantly share code, notes, and snippets.

@obar1
Created October 26, 2016 17:01
Show Gist options
  • Save obar1/adaf90a1e6d378d9e9bf1812368c839c to your computer and use it in GitHub Desktop.
Save obar1/adaf90a1e6d378d9e9bf1812368c839c to your computer and use it in GitHub Desktop.
## get the extension
# https://addons.mozilla.org/en-US/firefox/addon/export-cookies/
# login
# https://www.safaribooksonline.com/accounts/login/?next=/s/
## export the cookies
cd ~
mkdir -p crawler
cd crawler
#ex for 9781783558964
mkdir 9781783558964
cd 9781783558964
wget --load-cookies=../cookies.txt -mkEpnp https://www.safaribooksonline.com/library/view/cloudera-administration-handbook/9781783558964/
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment