Cloudflare Worker • oikotie.fi + etuovi.com

Apartment Watcher

Проверяет объявления каждые 3 часа и присылает ссылки на новые квартиры по вашим фильтрам.

Фильтры

Admin token сейчас change-me из wrangler.toml. Своя строка ADMIN_TOKEN в .dev.vars заменяет его. Первый запуск запоминает текущие объявления, чтобы письмо ушло только по действительно новым.

Статус

{
  "lastRunAt": "2026-11-14T04:03:58.235Z",
  "lastResult": {
    "scannedAt": "2026-11-14T04:03:58.235Z",
    "seed": false,
    "config": {
      "cities": [
        "Helsinki",
        "Espoo",
        "Vantaa"
      ],
      "listingType": "sale",
      "priceMin": 0,
      "priceMax": 170000,
      "sizeMin": 59,
      "sizeMax": 200,
      "rooms": [
        2,
        3
      ],
      "sources": [
        "etuovi",
        "oikotie"
      ],
      "notifyEmail": "grandgenerator@gmail.com,irina.kupriyenko@lapha.fi"
    },
    "fetched": 6,
    "matched": 6,
    "newCount": 3,
    "emailed": true,
    "emailError": "Отправлено 1 из 2. irina.kupriyenko@lapha.fi: Resend HTTP 403: {\"message\":\"You can only send testing emails to your own email address (grandgenerator@gmail.com). To send emails to other recipients, please verify a domain at resend.com/domains, and change the `from` address to an ema",
    "bySource": {
      "etuovi": {
        "fetched": 6,
        "matched": 6,
        "error": null
      },
      "oikotie": {
        "fetched": 0,
        "matched": 0,
        "error": "Oikotie HTTP 404 for https://asunnot.oikotie.fi/sitemap.xml"
      }
    },
    "newListings": [
      {
        "source": "etuovi",
        "id": "38841321",
        "url": "https://www.etuovi.com/kohde/38841321",
        "title": "Koukkuniitynpolku 1 D",
        "address": "Koukkuniitynpolku 1 D",
        "city": "Vantaa",
        "district": "Vantaanlaakso",
        "rooms": 3,
        "sizeM2": 64.5,
        "price": 139000,
        "listingType": "sale",
        "publishedAt": "2026-11-13T15:47:38.597Z"
      },
      {
        "source": "etuovi",
        "id": "80547343",
        "url": "https://www.etuovi.com/kohde/80547343",
        "title": "Majurinkatu 12 A",
        "address": "Majurinkatu 12 A",
        "city": "Espoo",
        "district": "Vermonniitty",
        "rooms": 3,
        "sizeM2": 62,
        "price": 139000,
        "listingType": "sale",
        "publishedAt": "2026-11-13T13:20:57.090Z"
      },
      {
        "source": "etuovi",
        "id": "44179625",
        "url": "https://www.etuovi.com/kohde/44179625",
        "title": "Vaakamestarinpolku 4",
        "address": "Vaakamestarinpolku 4",
        "city": "Helsinki",
        "district": "Tapulikaupunki",
        "rooms": 3,
        "sizeM2": 75,
        "price": 89000,
        "listingType": "sale",
        "publishedAt": "2026-11-13T08:53:16.848Z"
      }
    ]
  },
  "seenCount": 10,
  "config": {
    "cities": [
      "Helsinki",
      "Espoo",
      "Vantaa"
    ],
    "listingType": "sale",
    "priceMin": 0,
    "priceMax": 170000,
    "sizeMin": 59,
    "sizeMax": 200,
    "rooms": [
      2,
      3
    ],
    "sources": [
      "etuovi",
      "oikotie"
    ],
    "notifyEmail": "grandgenerator@gmail.com,irina.kupriyenko@lapha.fi"
  }
}