Skip to main content

A parser for the Geizhals.eu website.

Project description

geizhalscrawler

The geizhalscrawler library will give you the best price of a product from Geizhals.eu website. This information can be used in automations, e.g. to notify you when a price drops.

Install

pip install geizhalscrawler

Usage

from geizhalscrawler import Geizhals

# setup the product data
ID_or_URL = 'https://geizhals.de/ducky-one-2-sf-pbt-dkon1967st-bdepdazt1-a2194110.html'

# the id of the product is also valid
#ID_or_URL = 2194110

# possible values: AT/EU/DE/UK/PL
locale = 'DE'

# parse the data
obj = Geizhals(ID_or_URL, locale)
device = obj.parse()

# print the available product information
print(device)

Get the product_id from the geizhals website of your chosen product by opening the Price History in a new browser tab (right-click on the price history > open in new tab). The URL of this site reveals the ID, e.g. https://geizhals.de/?phist=2194110 with a product_id of 2194110.

Project details


Release history Release notifications | RSS feed

This version

0.1

Download files

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

Source Distribution

geizhalscrawler-0.1.tar.gz (3.3 kB view hashes)

Uploaded Source

Built Distribution

geizhalscrawler-0.1-py3-none-any.whl (7.6 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page