Skip to content

mjrlee/getAWSdocs

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

29 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

getAWSdocs.py

About

One thing that strikes me as odd with Amazon and the documentation on AWS is that there is no download all button, to make it easy to get all the documentation in one go. After creating a simple bash script that kept breaking and needed updating, I decided to rewrite in python to make it a little easier to maintain. This is the second rewrite which now additionally allows you to pull the whitepapers.

I hope some of you find this useful.

Requirements

Make sure all these python modules are intalled:

  • argparse
  • beautifulsoup4
  • urllib3+
  • urlparse3

example:

sudo pip install -r requirements.txt

Usage

To get all documents:

./getAWSdocs.py -d

Downloading all the docs (290 at the time of writting) can take a long time ~20mins.

To get all whitepapers:

./getAWSdocs.py -w

Files that exist on disk will not be re-downloaded (so by default only new sections/files are downloaded). To override this default and force re-download of files that exist on disk, use

./getAWSdocs.py -d -f

Note: You can use a combination of -d and -w to download all documents at once.

Thats it!

Built by Ric: @ric_harvey

About

Easily Download all AWS documents in one go

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Python 100.0%