All Projects → Jaymon → wishlist

Jaymon / wishlist

Licence: other
Read an Amazon wishlist programmatically with Python

Programming Languages

python
139335 projects - #7 most used programming language

Projects that are alternatives of or similar to wishlist

amazon wishlist pricewatch
Periodically check your public Amazon wishlist for price reductions.
Stars: ✭ 22 (-50%)
Mutual labels:  amazon, amazon-wishlist
AzurLaneWikiScrapers
A console application that can scrape the Azur Lane wiki and export the data to Json files
Stars: ✭ 12 (-72.73%)
Mutual labels:  scraper
storage-abstraction
Provides an abstraction layer for interacting with a storage; the storage can be local or in the cloud.
Stars: ✭ 36 (-18.18%)
Mutual labels:  amazon
arxiv leaks
Whisper of the arxiv: read comments in tex of papers
Stars: ✭ 22 (-50%)
Mutual labels:  scraper
web-scraping-engine
A simple web scraping engine supporting concurrent and anonymous scraping
Stars: ✭ 27 (-38.64%)
Mutual labels:  scraper
opensea-scraper
Scrapes nft floor prices and additional information from opensea. Used for https://nftfloorprice.info
Stars: ✭ 129 (+193.18%)
Mutual labels:  scraper
map-kit-android
An extensive framework for map development in Android.
Stars: ✭ 44 (+0%)
Mutual labels:  amazon
ammobin-client
client for https://ammobin.ca
Stars: ✭ 18 (-59.09%)
Mutual labels:  scraper
Instagram-Comments-Scraper
Instagram comment scraper using python and selenium. Save the comments into excel.
Stars: ✭ 73 (+65.91%)
Mutual labels:  scraper
WaGpScraper
A Python Oriented tool to Scrap WhatsApp Group Link using Google Dork it Scraps Whatsapp Group Links From Google Results And Gives Working Links.
Stars: ✭ 18 (-59.09%)
Mutual labels:  scraper
newspaperjs
News extraction and scraping. Article Parsing
Stars: ✭ 59 (+34.09%)
Mutual labels:  scraper
Spydan
A web spider for shodan.io without using the Developer API.
Stars: ✭ 30 (-31.82%)
Mutual labels:  scraper
newsemble
API for fetching data from news websites.
Stars: ✭ 42 (-4.55%)
Mutual labels:  scraper
sesdashboard
Analytics and activity tracking dashboard for AWS Simple Email Service
Stars: ✭ 36 (-18.18%)
Mutual labels:  amazon
mapbox-assistant-example
Examples of Amazon Echo, Google Home, and other bots interacting with Mapbox services.
Stars: ✭ 15 (-65.91%)
Mutual labels:  amazon
crawlkit
A crawler based on Phantom. Allows discovery of dynamic content and supports custom scrapers.
Stars: ✭ 23 (-47.73%)
Mutual labels:  scraper
Mimo-Crawler
A web crawler that uses Firefox and js injection to interact with webpages and crawl their content, written in nodejs.
Stars: ✭ 22 (-50%)
Mutual labels:  scraper
Captcha-Tools
All-in-one Python (And now Go!) module to help solve captchas with Capmonster, 2captcha and Anticaptcha API's!
Stars: ✭ 23 (-47.73%)
Mutual labels:  scraper
Coinsta
A Python package for acquiring both historical and current data of cryptocurrencies
Stars: ✭ 47 (+6.82%)
Mutual labels:  scraper
imdb-scraper
🎬 An attempt at the most complete IMDb API
Stars: ✭ 24 (-45.45%)
Mutual labels:  scraper

Wishlist

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

Dependencies

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 getting 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 access your Amazon wishlist on the command line.

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 https://www.amazon.com/gp/registry/wishlist/NAME, so, if your wishlist was found at: https://www.amazon.com/gp/registry/wishlist/9YDNFG31NSSRL 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:
    print(item.jsonable())

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

Installation

use pip:

$ pip install wishlist

To get the bleeding edge version:

$ pip install --upgrade "git+https://github.com/Jaymon/wishlist#egg=wishlist"

Regions

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

export WISHLIST_HOST=https://amazon.co.uk

The environment is setup at module import, so if you need to modify the environment during runtime you should use wishlist.environ, so to set the host at runtime, you could do something like:

from wishlist.core import Wishlist
from wishlist import environ

environ.HOST="https://www.amazon.fr"

Other things

  • Why are you using Firefox for logging in? Why not Chrome? I tried to get it to work in headless Chrome but all the features I needed to work out authentication on the command line weren't supported.

  • Would you rather use php? There's a library for that (also related).

  • Amazon's advertising api is where the officially supported wishlist api used to live.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].