Skip to main content

PriceGrabber

This is a Python package to retrieve prices for specific products from all sorts of websites, such as Amazon, Aliexpress, or price comparison websites.

New websites can be supported by means of a simple configuration entry. Currently supported sites include:

  • Geizhals.{de, at}
  • Amazon.{de, com, co.uk, probably all)
  • Idealo.de
  • Aliexpress.com

Usage

Usage is pretty simple. Mostly you should be able to put in an URL to the site of a product you're interested in, and you should get out a price (or a list of prices). Here is an Example for an AliExpress product:

>>> from pricegrabber import Grabber
>>> cfg = {"url": "https://de.aliexpress.com/store/product/Cherry-cherry-shaft-shaft-mx-mechanical-keyboard-shaft-switch-black-shaft-tea-shaft-white-shaft-green/2230037_32682571027.html?spm=a2g0x.12010612.8148356.2.75987786TNUZUO"}
>>> g = Grabber(cfg)
>>> g.grab()
[(8.9, '$')]

So in this case we know that the pack of Cherry MX key switches from AliExpress costs $8,90. Note that a list is returned. Some sites may report multiple prices instead of just one.

Metadata

Release files for pricegrabber 0.0.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for pricegrabber 0.0.1
File Size Uploaded
pricegrabber-0.0.1.tar.gz 5.9 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for pricegrabber 0.0.1
File Interpreter ABI Platform
pricegrabber-0.0.1-py3-none-any.whl Python 3 none any Details

Total release size: 13.3 kB

Release files / pricegrabber-0.0.1.tar.gz

Download URL pricegrabber-0.0.1.tar.gz
Size 5.9 kB
Tags Source
SHA-256 checksum
How to use checksums
62374e399cc2d39b6f0d4ebe2826765139af5091cba0368d17567b7653f9d527
BLAKE2b-256 checksum
How to use checksums
77952358d519374e954f352b2cb3818ea6dda1c49c30f7d811b9ea54ee77b01d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.12.1 pkginfo/1.4.2 requests/2.21.0 setuptools/40.6.3 requests-toolbelt/0.8.0 tqdm/4.28.1 CPython/3.5.5

Release files / pricegrabber-0.0.1-py3-none-any.whl

Download URL pricegrabber-0.0.1-py3-none-any.whl
Size 7.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
1fd0d1fd8a623d12ed61cfb44d6adad2290e9b9e1ad205bfb3e99f35f9a2a5e0
BLAKE2b-256 checksum
How to use checksums
5d6aaed53430fb6f7c8cd4740239e6ccb2257eb811244e64d3d16da811e0a286
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.12.1 pkginfo/1.4.2 requests/2.21.0 setuptools/40.6.3 requests-toolbelt/0.8.0 tqdm/4.28.1 CPython/3.5.5

Release history Release notifications | RSS feed

This release

0.0.1 This release

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page