Giter VIP home page Giter VIP logo

albert-heijn-date-checker's Introduction

Albert Heijn delivery date checker

Due to COVID19 the delivery service of Albert Heijn is very busy. This script checks Albert Heijn for any available delivery slots by postal code, and sends a Telegram message whenever a spot is available.

Usage

Modify the required values in ah.py: telegram api key, telegram chat id and your postal code. Put the script in a cronjob to run it every X.

albert-heijn-date-checker's People

Contributors

wez3 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

albert-heijn-date-checker's Issues

ProxyError

Hi!

Vanaf maart als een blij ei gebruikt gemaakt van het script tm halverwege juni ( toen was alles weer "normaal" )Maar nu wil ik het script weer gebruiken maar ik krijg onderstaande melding.. Waarbij "0000ST" mijn postcode zou moeten voorstellen ;)

Greetz
Hitcher1971

Traceback (most recent call last):
File "/home/hitcher1971/ah_simon_test.py", line 57, in
response = requests.get('https://www.ah.nl/service/rest/delegate', headers=headers, params=params)
File "/usr/local/lib/python2.7/dist-packages/requests/api.py", line 75, in get
return request('get', url, params=params, **kwargs)
File "/usr/local/lib/python2.7/dist-packages/requests/api.py", line 60, in request
return session.request(method=method, url=url, **kwargs)
File "/usr/local/lib/python2.7/dist-packages/requests/sessions.py", line 533, in request
resp = self.send(prep, **send_kwargs)
File "/usr/local/lib/python2.7/dist-packages/requests/sessions.py", line 646, in send
r = adapter.send(request, **kwargs)
File "/usr/local/lib/python2.7/dist-packages/requests/adapters.py", line 510, in send
raise ProxyError(e, request=request)
ProxyError: HTTPSConnectionPool(host='www.ah.nl', port=443): Max retries exceeded with url: /service/rest/delegate?url=%2Fkies-moment%2Fbezorgen%2F0000ST (Caused by ProxyError('Canno
t connect to proxy.', error('Tunnel connection failed: 403 Forbidden',)))

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.