From 25a0310ccfea7393c904af914cd21e0625dee360 Mon Sep 17 00:00:00 2001 From: Robert Honz Date: Wed, 26 Jan 2022 12:15:13 +0000 Subject: [PATCH] Du to missing pagination only the latest 20 ads have been shown. This fixes issue #16 and lists all available ads in the list. Version bump to 0.6.5. --- package.json | 2 +- src-electron/main-process/kleinanzeigen.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/package.json b/package.json index 580346b..7d29ab4 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "kleinanzeigen-magic", - "version": "0.6.4", + "version": "0.6.5", "description": "Speed up your Kleinanzeigen workflows!", "productName": "Kleinanzeigen Magic", "author": "Robert Honz ", diff --git a/src-electron/main-process/kleinanzeigen.js b/src-electron/main-process/kleinanzeigen.js index a252773..96905d2 100644 --- a/src-electron/main-process/kleinanzeigen.js +++ b/src-electron/main-process/kleinanzeigen.js @@ -258,7 +258,7 @@ export class Kleinanzeigen { } async getAds() { - const urlSuffix = `/users/${this._email}/ads.json`; + const urlSuffix = `/users/${this._email}/ads.json?size=9999`; try { const content = await this._httpGetJsonContent(urlSuffix);