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 details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

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

Uploaded Python 3

File details

Details for the file geizhalscrawler-0.1.tar.gz.

File metadata

  • Download URL: geizhalscrawler-0.1.tar.gz
  • Upload date:
  • Size: 3.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.3.0 pkginfo/1.7.0 requests/2.20.1 setuptools/45.2.0 requests-toolbelt/0.9.1 tqdm/4.56.0 CPython/3.8.5

File hashes

Hashes for geizhalscrawler-0.1.tar.gz
Algorithm Hash digest
SHA256 457a81712a03beba064bb61da0fb3fd7d06268b0e74fe2835ba31647e43b9b71
MD5 25711b2f582059749c65d66e504a5070
BLAKE2b-256 4d0ec0d57a17d77ed3773a9cc3e52825b050fe3e803fcfdbf1a5f199b0de2f84

See more details on using hashes here.

File details

Details for the file geizhalscrawler-0.1-py3-none-any.whl.

File metadata

  • Download URL: geizhalscrawler-0.1-py3-none-any.whl
  • Upload date:
  • Size: 7.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.3.0 pkginfo/1.7.0 requests/2.20.1 setuptools/45.2.0 requests-toolbelt/0.9.1 tqdm/4.56.0 CPython/3.8.5

File hashes

Hashes for geizhalscrawler-0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 ad7cf38f0123cc57f16c36905c17772f3c846eceaea26ce8758f6e104928c657
MD5 efa9a1ba57e27b4a3a00af14e142250f
BLAKE2b-256 38545ac5eacbc8e1ad6d37e7adfdf5273f8cb3199674bc4abb8687c5f89499ba

See more details on using hashes here.

Supported by

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