Skip to main content
Join the official 2019 Python Developers SurveyStart the survey!

Amazon wishlist scraper

Project description

Python library to grab your Amazon wishlist so you can mess with it programmatically.


What do I need if I have a private wishlist?

Wishlist depends on Brow in order to login from the command line (including 2 factor if enabled), and Brow depends on Selenium and Firefox to be installed, so you’ll need to read Brow’s README if you need help installing those on Linux.

What do I need if I have a public wishlist?

Nothing special, pip install wishlist should cover you, jump down to “Commandline wishlist access” and get started.

1 minute gettings started

Authentication for private lists

Is your wishlist private? Then you will need to authenticate on the command line:

$ wishlist auth

This will prompt you to signin and will even handle 2-factor authentication, after you signin your cookies will be saved so you can run now access your Amazon wishlist.

Commandline wishlist access

You can check access to your wishlist on the command line by running:

$ wishlist dump NAME

where NAME is the part of a url like, so, if your wishlist was found at: then you would run:

$ wishlist dump 9YDNFG31NSSRL

Programmatic wishlist access

If you wanted to do something in another python script, you can do:

from wishlist.core import Wishlist

name = "9YDNFG31NSSRL"
w = Wishlist(name)
for item in w:

You can check the wishlist.core.WishlistElement code to understand the structure of each wishlist item.


use pip:

$ pip install wishlist

Or be bleeding edge:

$ pip install "git+"


To change Amazon region from the default ( to another (e.g. just set the environment variable WISHLIST_HOST, for example:


Other things

  • Why are you using Firefox for logging in? Why not Chrome? I tried to get it to work in Chrome but headless Chrome doesn’t have all the features needed to work out authentication on the command line.
  • Would you rather use php? There’s a library for that (also related).
  • Amazon’s advertising api, this is where the officially supported wishlist api used to live.

Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for wishlist, version 0.2.2
Filename, size File type Python version Upload date Hashes
Filename, size wishlist-0.2.2.tar.gz (10.0 kB) File type Source Python version None Upload date Hashes View hashes

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page