impfbot icon indicating copy to clipboard operation
impfbot copied to clipboard

doctolib - returns results for multiple cities

Open tagru opened this issue 4 years ago • 1 comments

Hi,

first of all, thanks for the bot, it helped me find quickly an appointment.

But I noticed in the telegram channel for Dresden (https://t.me/s/corona_impftermine_drs), that it regularly returns results for other cities like Leipzig or Halle/Saale. I suspect it may have something to do with the search radius for doctolib, since a smaller town needs a smaller radius than a big city like Munich or Berlin.

Another reason could be, that the found practice has multiple locations, but only one is really in Dresden: https://www.doctolib.de/medizinisches-versorgungszentrum-mvz/leipzig/kopfzentrum-gruppe?pid=practice-171704

Hope this helps and keep on doing this great work.

tagru avatar Dec 01 '21 15:12 tagru

Hi tagru, you are right. This is due to the search radius implemented for Dresden being too large for its area. After looking into the code, I can confirm that results from Leipzig will be returned to the Telegram channel for Dresden. We will look into this, thanks for your mention.

phHartl avatar Dec 05 '21 20:12 phHartl