This is a simple script using the Python selenium library to scrape all your Amazon orders and create handy PDFs for receipt/tax purposes.
To use:
mkvirtualenv -p python3.9 amzscraper pip install git+https://github.com/tobiasmcnulty/amzscraper.git amscraper -u <email> -p <pass> 2021
If it does need to download a page from Amazon, a random sleep is inserted to throttle connections to the server.
Orders will be downloaded to the orders/
directory in your current directory by
default
For further options, see:
amzscraper -h
- Python 3.7+
virtualenv
andvirtualenvwrapper
wkhtmltopdf
installed and in yourPATH
chromedriver
installed and in yourPATH
This is loosely based on an earlier project by Chase Seibert.